BUGFIX: Respect SilverStripe's cache folder

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@99843 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2010-02-24 22:55:10 +00:00 committed by Sam Minnee
parent 3f3962f041
commit d2f4b6e071

View File

@ -147,6 +147,7 @@ class Zend_Cache_Backend
*/
static function getTmpDir()
{
return TEMP_FOLDER;
if (strtoupper(substr(PHP_OS, 0, 3)) === 'WIN') {
// windows...
foreach (array($_ENV, $_SERVER) as $tab) {