summaryrefslogtreecommitdiffstats
path: root/etc/rc.php_ini_setup
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2012-05-08 19:15:04 +0200
committerWarren Baker <warren@decoy.co.za>2012-05-08 19:15:04 +0200
commit7ff663d3a85cb782489067a6f26be72f4fce4ac3 (patch)
tree4073c96e4ef2047c5b0ef40d0a166e2a3a9e8f04 /etc/rc.php_ini_setup
parent76ac460bd4a95a8600b05cecebd8d66f20feed70 (diff)
downloadpfsense-7ff663d3a85cb782489067a6f26be72f4fce4ac3.zip
pfsense-7ff663d3a85cb782489067a6f26be72f4fce4ac3.tar.gz
Respect ['upload_path'] for upload_tmp_dir for PHP
Diffstat (limited to 'etc/rc.php_ini_setup')
-rwxr-xr-xetc/rc.php_ini_setup2
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
OpenPOWER on IntegriCloud