diff options
author | Warren Baker <warren@decoy.co.za> | 2012-05-08 19:15:04 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2012-05-08 19:15:04 +0200 |
commit | 7ff663d3a85cb782489067a6f26be72f4fce4ac3 (patch) | |
tree | 4073c96e4ef2047c5b0ef40d0a166e2a3a9e8f04 | |
parent | 76ac460bd4a95a8600b05cecebd8d66f20feed70 (diff) | |
download | pfsense-7ff663d3a85cb782489067a6f26be72f4fce4ac3.zip pfsense-7ff663d3a85cb782489067a6f26be72f4fce4ac3.tar.gz |
Respect ['upload_path'] for upload_tmp_dir for PHP
-rwxr-xr-x | etc/rc.php_ini_setup | 2 |
1 files changed, 1 insertions, 1 deletions
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 |