1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bonfire_ynh.git synced 2024-09-03 18:16:01 +02:00
This commit is contained in:
lapineige 2023-05-02 23:45:57 +02:00 committed by GitHub
parent bd61d6d32b
commit 28b34e9702
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -44,7 +44,7 @@ chown $app:$app "$install_dir/.env"
# max file upload size # max file upload size
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_replace_string --match_string="UPLOAD_LIMIT=MEDIA_UPLOAD_SIZE" --replace_string="UPLOAD_LIMIT=$(MEDIA_UPLOAD_SIZE)" --target_file="$install_dir/.env" ynh_replace_string --match_string="UPLOAD_LIMIT=MEDIA_UPLOAD_SIZE" --replace_string="UPLOAD_LIMIT=$MEDIA_UPLOAD_SIZE" --target_file="$install_dir/.env"
#================================================= #=================================================
# SPECIFIC SETUP # SPECIFIC SETUP