1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tinyfilemanager_ynh.git synced 2024-09-03 20:36:01 +02:00
This commit is contained in:
ericgaspar 2022-05-08 22:49:26 +02:00
parent 9f6a1261f2
commit 80940cf2fa
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 1 deletions

View file

@ -4,7 +4,7 @@ location __PATH__/ {
# Path to source
alias __FINALPATH__/ ;
index index.php tinyfilemanager.php;
index index.php;
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
client_max_body_size 10G;

View file

@ -79,6 +79,9 @@ ynh_app_setting_set --app=$app --key=final_path --value=$final_path
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
# Rename tinyfilemanager to index
mv $final_path/tinyfilemanager.php $final_path/index.php
chmod 750 "$final_path"
chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path"