1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bonfire_ynh.git synced 2024-09-03 18:16:01 +02:00

fix media_upload_size

This commit is contained in:
lapineige 2023-05-02 14:48:01 +02:00 committed by GitHub
parent 4d54d0b917
commit 943f95ce75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,7 +38,7 @@ ynh_add_nginx_config
ynh_script_progression --message="Adding a configuration file..." --weight=1
# max file upload size
# TODO : unbound variable ? #MEDIA_UPLOAD_SIZE="${MEDIA_UPLOAD_SIZE:0:2}000000" # convert the MB argument in bytes
MEDIA_UPLOAD_SIZE="${media_upload_size:0:2}000000" # convert the MB argument in bytes
ynh_add_config --template="../conf/.env" --destination="$install_dir/.env"