Skip to content

Commit

Permalink
use sys_get_temp_dir() for tmp directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Sarnowski committed Apr 18, 2012
1 parent 32f9c18 commit bc82a8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _testing/bootstrap.php
Expand Up @@ -21,7 +21,7 @@

// 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/');

Expand Down

0 comments on commit bc82a8a

Please sign in to comment.