From bc82a8a1dca9267446316d818b5729ec34bf0524 Mon Sep 17 00:00:00 2001 From: Tobias Sarnowski Date: Wed, 18 Apr 2012 09:28:26 +0200 Subject: use sys_get_temp_dir() for tmp directory --- _testing/bootstrap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/'); -- cgit v1.2.3