From de64dffdd4fe215d704519b8e66bdaf54a8f5f3c Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Tue, 20 Jul 2010 03:40:01 +0000 Subject: [PATCH] BUGFIX #5837 cache_dir not writable by Zend when accessing the CMS, because of Windows default which should be the sapphire TEMP_FOLDER git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@108195 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- _config.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_config.php b/_config.php index 501f7a499..29eda856c 100755 --- a/_config.php +++ b/_config.php @@ -72,4 +72,7 @@ PasswordEncryptor::register('md5_v2.4', 'PasswordEncryptor_PHPHash("md5")'); PasswordEncryptor::register('sha1_v2.4','PasswordEncryptor_PHPHash("sha1")'); // Zend_Cache temp directory setting -$_ENV['TMPDIR'] = TEMP_FOLDER; +$_ENV['TMPDIR'] = TEMP_FOLDER; // for *nix +$_ENV['TMP'] = TEMP_FOLDER; // for Windows + +var_dump($_SERVER); \ No newline at end of file