Limit each image to 1 MB.
UPLOAD_MAX_MB changes the limit, and UPLOAD_MAX_MB=none removes it.
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user