diff --git a/scripts/change_url b/scripts/change_url index 1ac1ecb..16fc4d1 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -77,26 +77,6 @@ then ynh_store_file_checksum --file="/etc/nginx/conf.d/$new_domain.d/$app.conf" fi -#================================================= -# SPECIFIC MODIFICATIONS -#================================================= -# ynh_script_progression --message="Configuring $app..." --weight=1 - -# domain="$new_domain" -# path_url="$new_path" - -# ynh_backup_if_checksum_is_different --file="$final_path/settings.php" - -# cp ../conf/settings.example.php "$final_path/settings.php" - -# # Change domain name in config.php -# ynh_replace_string --match_string="__DBNAME__" --replace_string="$db_name" --target_file="$final_path/settings.php" -# ynh_replace_string --match_string="__DBPWD__" --replace_string="$db_pwd" --target_file="$final_path/settings.php" -# #ynh_replace_string --match_string="__DOMAINPATH__" --replace_string="https://$domain$path_url" --target_file="$final_path/settings.php" - -# # Recalculate and store the config file checksum into the app settings -# ynh_store_file_checksum --file="$final_path/settings.php" - #================================================= # GENERIC FINALIZATION #=================================================