From f01cd5773606a447fcc6ebe939bc085a5a7774be Mon Sep 17 00:00:00 2001 From: Sam Minnee Date: Mon, 18 Oct 2010 22:43:11 +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 (from r108195) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112716 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