From e0beca198bc4aba63f59851b4a18ee89d5468b7c Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Wed, 19 Sep 2012 13:30:05 +1200 Subject: [PATCH] Added missing $tempPath argument (regression from last commit) --- core/Core.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/Core.php b/core/Core.php index 1d34a99cf..e2ee89321 100644 --- a/core/Core.php +++ b/core/Core.php @@ -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); }