mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Respect ['upload_path'] for upload_tmp_dir for PHP
This commit is contained in:
parent
76ac460bd4
commit
7ff663d3a8
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user