mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
updating configure
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7019 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
6384da5b53
commit
d3f772cfb4
1 changed files with 4 additions and 4 deletions
|
@ -647,13 +647,13 @@ class Configure extends Object {
|
|||
if (Configure::read() > 1) {
|
||||
$settings['duration'] = 10;
|
||||
}
|
||||
if (!empty($cache['path'])) {
|
||||
$settings['path'] = realpath($cache['path'] . DS . 'persistent') . DS;
|
||||
|
||||
if (!empty($settings['path'])) {
|
||||
$settings['path'] = realpath($settings['path'] . DS . 'persistent') . DS;
|
||||
}
|
||||
Cache::config('_cake_core_' , $settings);
|
||||
}
|
||||
}
|
||||
if (empty($_this->modelPaths)) {
|
||||
|
||||
$_this->buildPaths(compact('modelPaths', 'viewPaths', 'controllerPaths', 'helperPaths', 'componentPaths', 'behaviorPaths', 'pluginPaths', 'vendorPaths'));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue