From d3f772cfb49a7608406f2319bff2a02c4342d427 Mon Sep 17 00:00:00 2001 From: gwoo Date: Fri, 23 May 2008 04:46:03 +0000 Subject: [PATCH] updating configure git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7019 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/configure.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cake/libs/configure.php b/cake/libs/configure.php index ed261b732..c3f15b0cd 100644 --- a/cake/libs/configure.php +++ b/cake/libs/configure.php @@ -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')); } }