mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-06-30 16:39:38 +02:00
Added missing $tempPath argument (regression from last commit)
This commit is contained in:
parent
aa4fa75091
commit
e0beca198b
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user