mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-22 12:29:11 -04:00
During this process, remove a considerable number of files from kohana
that we will not be needing in Gallery3, including the following files
and directories:
kohana/application
kohana/example.htaccess
kohana/index.php
kohana/install.php
kohana/kohana.png
kohana/modules/archive
kohana/modules/auth
kohana/modules/flot
kohana/modules/gmaps
kohana/modules/kodoc
kohana/modules/payment
kohana/modules/smarty
kohana/modules/unit_test/i18n
kohana/modules/unit_test/tests/Example_Test.php
kohana/modules/unit_test/tests/Valid_Test.php
kohana/system/config/captcha.php
kohana/system/controllers/captcha.php
kohana/system/fonts
kohana/system/i18n
kohana/system/libraries/Calendar.php
kohana/system/libraries/Calendar_Event.php
kohana/system/libraries/Captcha.php
kohana/system/libraries/Tagcloud.php
kohana/system/vendor
kohana/system/views/pagination
kohana/system/views/kohana_calendar.php
33 lines
1.4 KiB
PHP
33 lines
1.4 KiB
PHP
<?php defined('SYSPATH') OR die('No direct access allowed.');
|
|
/**
|
|
* @package Cache
|
|
*
|
|
* Cache settings, defined as arrays, or "groups". If no group name is
|
|
* used when loading the cache library, the group named "default" will be used.
|
|
*
|
|
* Each group can be used independently, and multiple groups can be used at once.
|
|
*
|
|
* Group Options:
|
|
* driver - Cache backend driver. Kohana comes with file, database, and memcache drivers.
|
|
* > File cache is fast and reliable, but requires many filesystem lookups.
|
|
* > Database cache can be used to cache items remotely, but is slower.
|
|
* > Memcache is very high performance, but prevents cache tags from being used.
|
|
*
|
|
* params - Driver parameters, specific to each driver.
|
|
*
|
|
* lifetime - Default lifetime of caches in seconds. By default caches are stored for
|
|
* thirty minutes. Specific lifetime can also be set when creating a new cache.
|
|
* Setting this to 0 will never automatically delete caches.
|
|
*
|
|
* requests - Average number of cache requests that will processed before all expired
|
|
* caches are deleted. This is commonly referred to as "garbage collection".
|
|
* Setting this to 0 or a negative number will disable automatic garbage collection.
|
|
*/
|
|
$config['default'] = array
|
|
(
|
|
'driver' => 'file',
|
|
'params' => APPPATH.'cache',
|
|
'lifetime' => 1800,
|
|
'requests' => 1000
|
|
);
|