From ce74d25a569573339aa46cb18c6dc0deaaf62be2 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Tue, 13 Mar 2012 02:34:45 +1100 Subject: [PATCH] use sys_get_temp_dir() for finding /tmp --- inc/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.)