mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
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
This commit is contained in:
parent
2ec9234da6
commit
f01cd57736
@ -72,4 +72,7 @@ PasswordEncryptor::register('md5_v2.4', 'PasswordEncryptor_PHPHash("md5")');
|
|||||||
PasswordEncryptor::register('sha1_v2.4','PasswordEncryptor_PHPHash("sha1")');
|
PasswordEncryptor::register('sha1_v2.4','PasswordEncryptor_PHPHash("sha1")');
|
||||||
|
|
||||||
// Zend_Cache temp directory setting
|
// Zend_Cache temp directory setting
|
||||||
$_ENV['TMPDIR'] = TEMP_FOLDER;
|
$_ENV['TMPDIR'] = TEMP_FOLDER; // for *nix
|
||||||
|
$_ENV['TMP'] = TEMP_FOLDER; // for Windows
|
||||||
|
|
||||||
|
var_dump($_SERVER);
|
Loading…
Reference in New Issue
Block a user