diff --git a/conf/nginx.conf b/conf/nginx.conf index ca740c7..aa2548c 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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 all; - return 404; - } +# Deny access to /data/config.ini.php +location = __PATH__/data/config.ini.php { + deny all; + return 404; +} diff --git a/scripts/restore b/scripts/restore index b3753e3..66f3402 100644 --- a/scripts/restore +++ b/scripts/restore @@ -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 #=================================================