From 19218f5ed5c0eebfcaf3515f5b35a555f190e122 Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Sun, 5 Dec 2021 15:55:28 +0100 Subject: [PATCH] disable auto-upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 8906207..fb81e95 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -241,7 +241,7 @@ if [ "$path_url" == "/" ]; then else ynh_replace_string --match_string="//const WWW_URI = '/asso/';" --replace_string="const WWW_URI = '$path_url/';" --target_file="$final_path/config.local.php" fi -ynh_replace_string --match_string="//const ENABLE_UPGRADES = true;" --replace_string="//const ENABLE_UPGRADES = false;" --target_file="$final_path/config.local.php" +ynh_replace_string --match_string="//const ENABLE_UPGRADES = true;" --replace_string="const ENABLE_UPGRADES = false;" --target_file="$final_path/config.local.php" # Permissions on files and directories chmod -R o-rwx "$final_path"