From 54869fc965cd47668ce6a8a177a5f1c94289d456 Mon Sep 17 00:00:00 2001 From: 0x20h Date: Tue, 17 Jan 2012 19:39:46 +0100 Subject: [PATCH] moved note about 'default' cache configuration to the APC config docblock --- app/Config/core.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/app/Config/core.php b/app/Config/core.php index e4ffe3cff..d128bbd50 100644 --- a/app/Config/core.php +++ b/app/Config/core.php @@ -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'))) { @@ -270,7 +271,3 @@ Cache::config('_cake_model_', array( 'serialize' => ($engine === 'File'), 'duration' => $duration )); - -/** - * Note: 'default' and other application caches should be configured in app/Config/bootstrap.php - */