mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 10:36:16 +00:00
Fixed a problem in Configure causing the File engines default path to be ignored , closes #4673
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6916 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
7e4224a1f9
commit
d9e6ee6494
1 changed files with 5 additions and 1 deletions
|
@ -643,7 +643,11 @@ class Configure extends Object {
|
|||
if (Configure::read() > 1) {
|
||||
$cache['duration'] = 10;
|
||||
}
|
||||
$settings = array('prefix' => 'cake_core_', 'path' => CACHE . 'persistent' . DS, 'serialize' => true);
|
||||
$settings = array(
|
||||
'prefix' => 'cake_core_',
|
||||
'path' => realpath($cache['path'].DS.'persistent').DS,
|
||||
'serialize' => true
|
||||
);
|
||||
$config = Cache::config('_cake_core_' , array_merge($cache, $settings));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue