Respect ['upload_path'] for upload_tmp_dir for PHP

This commit is contained in:
Warren Baker 2012-05-08 19:15:04 +02:00
parent 76ac460bd4
commit 7ff663d3a8

View File

@ -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