summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspiderr <spider@viovio.com>2014-09-08 13:45:40 -0400
committerspiderr <spider@viovio.com>2014-09-08 13:45:40 -0400
commit2d814ce5412488bf42cdcde71ed8bf00c93806a7 (patch)
tree00e422549c2110d6f2861f939eecf21b4e76909b
parentaff1ce6e9bbf3db0cb3631462f3d9562ca3f1289 (diff)
downloadinstall-2d814ce5412488bf42cdcde71ed8bf00c93806a7.tar.gz
install-2d814ce5412488bf42cdcde71ed8bf00c93806a7.tar.bz2
install-2d814ce5412488bf42cdcde71ed8bf00c93806a7.zip
use sys_get_temp_dir() for default temp location
-rw-r--r--install_checks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/install_checks.php b/install_checks.php
index ecd45d1..3a3ea11 100644
--- a/install_checks.php
+++ b/install_checks.php
@@ -58,7 +58,7 @@ function check_settings() {
$dir_check = array(
'storage' => defined( 'STORAGE_PKG_PATH' ) ? STORAGE_PKG_PATH : BIT_ROOT_PATH.'storage',
- 'temp' => defined( 'TEMP_PKG_PATH' ) ? TEMP_PKG_PATH : BIT_ROOT_PATH.'temp',
+ 'temp' => defined( 'TEMP_PKG_PATH' ) ? TEMP_PKG_PATH : sys_get_temp_dir().'/bitweaver/'.$_SERVER['SERVER_NAME'],
);
foreach( $dir_check as $name => $d ) {
// final attempt to create the required directories