From d9e6ee6494ef93f2a75c42d5502396b19fbe13cc Mon Sep 17 00:00:00 2001 From: the_undefined Date: Sat, 17 May 2008 21:47:06 +0000 Subject: [PATCH] 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 --- cake/libs/configure.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cake/libs/configure.php b/cake/libs/configure.php index d3bbc1cf9..beac544c0 100644 --- a/cake/libs/configure.php +++ b/cake/libs/configure.php @@ -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)); } }