Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Issue #6667: Check for TEMP_FOLDER _ss_envrionment override in instal…

…l script.
  • Loading branch information...
commit ecb279c33e3fe2b4d86a4575f0af42be65a35f03 1 parent e307594
@robert-h-curry robert-h-curry authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 dev/install/install.php5
View
4 dev/install/install.php5
@@ -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();
Please sign in to comment.
Something went wrong with that request. Please try again.