mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Issue #6667: Check for TEMP_FOLDER _ss_envrionment override in install script.
This commit is contained in:
parent
e307594c05
commit
ecb279c33e
@ -670,7 +670,9 @@ class InstallRequirements {
|
||||
}
|
||||
|
||||
function getTempFolder() {
|
||||
if(file_exists($this->getBaseDir() . 'silverstripe-cache')) {
|
||||
if (defined('TEMP_FOLDER')) {
|
||||
$sysTmp = TEMP_FOLDER;
|
||||
} elseif(file_exists($this->getBaseDir() . 'silverstripe-cache')) {
|
||||
$sysTmp = $this->getBaseDir();
|
||||
} elseif(function_exists('sys_get_temp_dir')) {
|
||||
$sysTmp = sys_get_temp_dir();
|
||||
|
Loading…
Reference in New Issue
Block a user