Fixed bug introduced by safe mode checks

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@39825 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Andrew O'Neil 2007-08-10 03:19:39 +00:00
parent d93528100c
commit 037d77beca

View File

@ -14,6 +14,7 @@ function getTempFolder() {
$sysTmp = dirname($tmpFile);
}
$worked = true;
$ssTmp = "$sysTmp/silverstripe-cache";
if(!@file_exists($ssTmp)) {
@$worked = mkdir($ssTmp);