add fallback size
This commit is contained in:
parent
ca2bb7deb6
commit
a22377a56f
@ -1,3 +1,7 @@
|
|||||||
|
if [[ -z "${MAX_UPLOAD_SIZE}" ]]; then
|
||||||
|
MAX_UPLOAD_SIZE="8M" # Default fallback value
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Checking if upload script exists in /var/www/html"
|
echo "Checking if upload script exists in /var/www/html"
|
||||||
if [ -f "/var/www/html/upload.php" ]; then
|
if [ -f "/var/www/html/upload.php" ]; then
|
||||||
echo "Upload script was found, ignoring copy."
|
echo "Upload script was found, ignoring copy."
|
||||||
|
Loading…
Reference in New Issue
Block a user