add fallback size

This commit is contained in:
Lee 2023-07-04 17:23:14 +01:00
parent ca2bb7deb6
commit a22377a56f

View File

@ -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"
if [ -f "/var/www/html/upload.php" ]; then
echo "Upload script was found, ignoring copy."