Limit each image to 1 MB.

UPLOAD_MAX_MB changes the limit, and UPLOAD_MAX_MB=none removes it.
This commit is contained in:
tim
2026-09-26 15:27:51 +02:00
parent c4fcef21aa
commit 504d363642
5 changed files with 86 additions and 5 deletions
+4
View File
@@ -25,6 +25,10 @@ GOOGLE_ANALYTICS_ID=
# web root. The default is xxx-uploads in the system temporary directory.
UPLOAD_DIR=
# The largest image a story can have, in megabytes (default 1). Set it
# to none for no limit. PHP's upload_max_filesize still applies.
UPLOAD_MAX_MB=
# The most that the upload directory holds, in megabytes (default 100).
# Past this, previews do not keep new images. Abandoned uploads are
# removed after a day.