From 55e9a1eda69ef5ecba09a3bae6e7578104527304 Mon Sep 17 00:00:00 2001 From: phpnut Date: Fri, 12 Jan 2007 17:25:56 +0000 Subject: [PATCH] Reverting changes from [4285] git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4286 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/basics.php | 2 -- cake/libs/configure.php | 5 ++--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/cake/basics.php b/cake/basics.php index 95f8ca1eb..de96709cb 100644 --- a/cake/basics.php +++ b/cake/basics.php @@ -957,8 +957,6 @@ } } else if(is_writable(dirname($filename))) { file_put_contents($filename, $data); - } else { - return false; } return $data; } diff --git a/cake/libs/configure.php b/cake/libs/configure.php index 485127171..fc86a2f19 100644 --- a/cake/libs/configure.php +++ b/cake/libs/configure.php @@ -283,11 +283,10 @@ class Configure extends Object { */ function __writeConfig($content, $name, $write = true){ $file = CACHE . 'persistent' . DS . $name . '.php'; - $cached = false; if(!file_exists($file)){ - $cached = cache('persistent' . DS . $name . '.php', "