diff --git a/scripts/upgrade b/scripts/upgrade index 1c2a8a2..c0b1a6b 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -85,7 +85,7 @@ if [ ! -f "$data_dir/data/config.local.user.php" ]; then */ require '$data_dir/data/config.local.user.php';" >> $install_dir/config.local.php else - ynh_replace_string --match_string="require '$data_dir/data/config.local.user.php';" --replace_string="//require '$data_dir/data/config.local.user.php';" --target_file="$install_dir/config.local.php" + ynh_replace_string --match_string="//require '$data_dir/data/config.local.user.php';" --replace_string="require '$data_dir/data/config.local.user.php';" --target_file="$install_dir/config.local.php" fi #=================================================