mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
fix to Cache::config() when no params are passed
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5864 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
5a270f2220
commit
8a64dd33e3
1 changed files with 5 additions and 1 deletions
|
@ -112,7 +112,11 @@ class Cache extends Object {
|
|||
$settings = $_this->__config[$_this->__name];
|
||||
} else {
|
||||
$name = 'default';
|
||||
if(!empty($_this->__config['default'])) {
|
||||
$settings = $_this->__config['default'];
|
||||
} else {
|
||||
$settings = array('engine'=>'File');
|
||||
}
|
||||
}
|
||||
|
||||
$engine = 'File';
|
||||
|
|
Loading…
Add table
Reference in a new issue