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"