BUGFIX #5349: Use TEMP_FOLDER for Zend's cache temp dir. (from r105468)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@112498 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-10-15 02:49:06 +00:00
parent 95e1efb4bf
commit 70df629f10
1 changed files with 4 additions and 1 deletions

View File

@ -69,4 +69,7 @@ PasswordEncryptor::register('none', 'PasswordEncryptor_None');
PasswordEncryptor::register('md5', 'PasswordEncryptor_LegacyPHPHash("md5")');
PasswordEncryptor::register('sha1','PasswordEncryptor_LegacyPHPHash("sha1")');
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
$_ENV['TMPDIR'] = TEMP_FOLDER;