Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
moved note about 'default' cache configuration to the APC config docb…
…lock
  • Loading branch information
0x20h committed Jan 17, 2012
1 parent 588090d commit 54869fc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions app/Config/core.php
Expand Up @@ -235,6 +235,7 @@
* Pick the caching engine to use. If APC is enabled use it.
* If running via cli - apc is disabled by default. ensure it's available and enabled in this case
*
* Note: 'default' and other application caches should be configured in app/Config/bootstrap.php
*/
$engine = 'File';
if (extension_loaded('apc') && function_exists('apc_dec') && (php_sapi_name() !== 'cli' || ini_get('apc.enable_cli'))) {
Expand Down Expand Up @@ -270,7 +271,3 @@
'serialize' => ($engine === 'File'),
'duration' => $duration
));

/**
* Note: 'default' and other application caches should be configured in app/Config/bootstrap.php
*/

0 comments on commit 54869fc

Please sign in to comment.