summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Sarnowski <sarnowski@cosmocode.de>2012-04-18 09:28:26 +0200
committerTobias Sarnowski <sarnowski@cosmocode.de>2012-04-18 09:28:26 +0200
commitbc82a8a1dca9267446316d818b5729ec34bf0524 (patch)
tree4cf484d357a9a68cc227898e59bd8f980e678dc9
parent32f9c1842012717be9d1e92107ee4687c535702e (diff)
downloadrpg-bc82a8a1dca9267446316d818b5729ec34bf0524.tar.gz
rpg-bc82a8a1dca9267446316d818b5729ec34bf0524.tar.bz2
use sys_get_temp_dir() for tmp directory
-rw-r--r--_testing/bootstrap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/_testing/bootstrap.php b/_testing/bootstrap.php
index 7d57ba1d1..6ec3dd7ee 100644
--- a/_testing/bootstrap.php
+++ b/_testing/bootstrap.php
@@ -21,7 +21,7 @@ ini_set('memory_limit','2048M');
// prepare temporary directories
define('DOKU_INC', dirname(dirname(__FILE__)).'/');
-define('TMP_DIR', '/tmp/dwtests-'.microtime(true));
+define('TMP_DIR', sys_get_temp_dir().'/dwtests-'.microtime(true));
define('DOKU_CONF', TMP_DIR.'/conf/');
define('DOKU_TMP_DATA', TMP_DIR.'/data/');