summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-03-13 02:34:45 +1100
committerMichael Save <savetheinternet@tinyboard.org>2012-03-13 02:34:45 +1100
commitce74d25a569573339aa46cb18c6dc0deaaf62be2 (patch)
tree34a21f60659a71757cc699673a0893dbbd8ba13d /inc/config.php
parent77c256157ff0cb06ca4166610516eba970a55ef5 (diff)
use sys_get_temp_dir() for finding /tmp
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/config.php b/inc/config.php
index 4e9e9b26..1a0fde6a 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -65,7 +65,7 @@
$config['verbose_errors'] = true;
// Directory where temporary files will be created. Not really used much yet except for some experimental stuff.
- $config['tmp'] = '/tmp';
+ $config['tmp'] = sys_get_temp_dir();
// The HTTP status code to use when redirecting. http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
// Can be either 303 "See Other" or 302 "Found". (303 is more correct but both should work.)