fixes #4710, cake core using settings for default cache

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6992 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
gwoo 2008-05-21 15:41:02 +00:00
parent f7438da72e
commit 6ef2b78389

View file

@ -635,7 +635,7 @@ class Configure extends Object {
}
if ($_this->read('Cache.disable') !== true) {
$cache = Cache::settings();
$cache = Cache::settings('default');
if (empty($cache)) {
trigger_error('Cache not configured properly. Please check Cache::config(); in APP/config/core.php', E_USER_WARNING);
list($engine, $cache) = Cache::config('default', array('engine' => 'File'));