mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +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