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:
gwoo 2008-05-23 04:46:03 +00:00
parent 6384da5b53
commit d3f772cfb4

View file

@ -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'));
}
}