Added missing $tempPath argument (regression from last commit)

This commit is contained in:
Sean Harvey 2012-09-19 13:30:05 +12:00
parent aa4fa75091
commit e0beca198b

View File

@ -329,6 +329,7 @@ function getTempFolder($base = null) {
// failing to use the system path, attempt to create a local silverstripe-cache dir
if(!$worked) {
$worked = true;
$tempPath = $base . '/silverstripe-cache';
if(!@file_exists($tempPath)) {
$worked = @mkdir($tempPath);
}