Permalink
Browse files

Added missing $tempPath argument (regression from last commit)

  • Loading branch information...
1 parent aa4fa75 commit e0beca198bc4aba63f59851b4a18ee89d5468b7c @halkyon halkyon committed Sep 19, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 core/Core.php
View
@@ -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);
}

0 comments on commit e0beca1

Please sign in to comment.