1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/webtrees_ynh.git synced 2024-09-03 18:26:37 +02:00
This commit is contained in:
Éric Gaspar 2022-06-06 11:43:02 +02:00
parent 25d21e9492
commit c317e20966
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 10 additions and 5 deletions

View file

@ -25,8 +25,8 @@ location __PATH__/ {
include conf.d/yunohost_panel.conf.inc;
}
# Deny access to /data/config.ini.php
location = __PATH__/data/config.ini.php {
# Deny access to /data/config.ini.php
location = __PATH__/data/config.ini.php {
deny all;
return 404;
}
}

View file

@ -13,6 +13,11 @@ source /usr/share/yunohost/helpers
# MANAGE SCRIPT FAILURE
#=================================================
ynh_clean_setup () {
#### Remove this function if there's nothing to clean before calling the remove script.
true
}
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
#=================================================