diff --git a/cake/libs/cache.php b/cake/libs/cache.php index e7aa2fb67..c1b607a9c 100644 --- a/cake/libs/cache.php +++ b/cake/libs/cache.php @@ -112,7 +112,11 @@ class Cache extends Object { $settings = $_this->__config[$_this->__name]; } else { $name = 'default'; - $settings = $_this->__config['default']; + if(!empty($_this->__config['default'])) { + $settings = $_this->__config['default']; + } else { + $settings = array('engine'=>'File'); + } } $engine = 'File';