From 4efef1ed67aa86a6d810656db2d068c985e966fa Mon Sep 17 00:00:00 2001 From: mark_story Date: Sat, 12 Mar 2011 12:18:21 -0500 Subject: [PATCH] Moving the default cache configuration to app/config/bootstrap.php, as its not used by CakePHP anymore, and is an application configuration value. --- app/config/bootstrap.php | 12 +++++++++--- app/config/core.php | 3 --- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/app/config/bootstrap.php b/app/config/bootstrap.php index ceeb85670..2e36a893e 100644 --- a/app/config/bootstrap.php +++ b/app/config/bootstrap.php @@ -1,9 +1,12 @@ 'File')); + /** * The settings below can be used to set additional paths to models, views and controllers. * This is related to Ticket #470 (https://trac.cakephp.org/ticket/470) diff --git a/app/config/core.php b/app/config/core.php index 18c3e3926..3a7613b85 100644 --- a/app/config/core.php +++ b/app/config/core.php @@ -290,9 +290,6 @@ if (extension_loaded('apc')) { $engine = 'Apc'; } -// Setup a 'default' cache configuration for use in the application. -Cache::config('default', array('engine' => $engine)); - // In development mode, caches should expire quickly. $duration = '+999 days'; if (Configure::read('debug') >= 1) {