Skip to content

Commit

Permalink
Added missing $tempPath argument (regression from last commit)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Harvey committed Sep 19, 2012
1 parent aa4fa75 commit e0beca1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions core/Core.php
Expand Up @@ -329,6 +329,7 @@ function getTempFolder($base = null) {
// failing to use the system path, attempt to create a local silverstripe-cache dir // failing to use the system path, attempt to create a local silverstripe-cache dir
if(!$worked) { if(!$worked) {
$worked = true; $worked = true;
$tempPath = $base . '/silverstripe-cache';
if(!@file_exists($tempPath)) { if(!@file_exists($tempPath)) {
$worked = @mkdir($tempPath); $worked = @mkdir($tempPath);
} }
Expand Down

0 comments on commit e0beca1

Please sign in to comment.