This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
phptsmadmin/application/config/cache.php

33 lines
686 B
PHP
Raw Permalink Normal View History

2011-05-23 10:01:27 +00:00
<?php defined('SYSPATH') or die('No direct access allowed.');
/**
2012-11-26 05:57:18 +00:00
* PTA Configuration - Cache Driver
2011-05-23 10:01:27 +00:00
*
2012-11-26 05:57:18 +00:00
* @package PTA
2011-05-23 10:01:27 +00:00
* @subpackage Cache
* @category Configuration
* @author Deon George
* @copyright (c) 2010 phpTSMadmin Development Team
* @license http://phptsmadmin.sf.net/license.html
*/
2012-11-26 05:57:18 +00:00
return array(
'apc' => array(
'driver' => 'apc',
'default_expire' => 3600,
),
'file' => array(
2011-05-23 10:01:27 +00:00
'driver' => 'file',
2011-05-29 09:33:32 +00:00
'cache_dir' => Kohana::$cache_dir ? Kohana::$cache_dir : '/dev/shm/lnapp',
2011-05-23 10:01:27 +00:00
'default_expire' => 3600,
2012-11-26 05:57:18 +00:00
'ignore_on_delete' => array(
'.gitignore',
'.git',
'.htaccess',
'.svn'
)
),
2011-05-23 10:01:27 +00:00
);
?>