From 7ff663d3a85cb782489067a6f26be72f4fce4ac3 Mon Sep 17 00:00:00 2001 From: Warren Baker Date: Tue, 8 May 2012 19:15:04 +0200 Subject: Respect ['upload_path'] for upload_tmp_dir for PHP --- etc/rc.php_ini_setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/rc.php_ini_setup b/etc/rc.php_ini_setup index 49ab482..a52e770 100755 --- a/etc/rc.php_ini_setup +++ b/etc/rc.php_ini_setup @@ -75,7 +75,7 @@ fi # Set upload directory if [ "$PLATFORM" = "embedded" -o "$PLATFORM" = "nanobsd" ]; then - UPLOADTMPDIR="/root" + UPLOADTMPDIR=`/usr/bin/grep upload_path /etc/inc/globals.inc | /usr/bin/cut -d'"' -f4` else UPLOADTMPDIR="/tmp" fi -- cgit v1.1