diff options
| author | spiderr <spider@viovio.com> | 2014-09-08 13:45:40 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2014-09-08 13:45:40 -0400 |
| commit | 2d814ce5412488bf42cdcde71ed8bf00c93806a7 (patch) | |
| tree | 00e422549c2110d6f2861f939eecf21b4e76909b | |
| parent | aff1ce6e9bbf3db0cb3631462f3d9562ca3f1289 (diff) | |
| download | install-2d814ce5412488bf42cdcde71ed8bf00c93806a7.tar.gz install-2d814ce5412488bf42cdcde71ed8bf00c93806a7.tar.bz2 install-2d814ce5412488bf42cdcde71ed8bf00c93806a7.zip | |
use sys_get_temp_dir() for default temp location
| -rw-r--r-- | install_checks.php | 2 |
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 |
