mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 17:16:18 +00:00
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:
parent
f7438da72e
commit
6ef2b78389
1 changed files with 1 additions and 1 deletions
|
@ -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'));
|
||||
|
|
Loading…
Add table
Reference in a new issue