Several rewrites/fixes which I have done yesterday but not commited, mxchange_die...
[mailer.git] / inc / mysql-connect.php
index 5e97ba5b0cc6b531a49fea9efc49eb4cf4f9330b..326edc5cebe82223b7de24dd11af802d0b5a9d6c 100644 (file)
@@ -60,10 +60,10 @@ if ((empty($MySQL['login'])) && (!isInstalling()) && (!REQUEST_ISSET_GET('instal
        OUTPUT_HTML("<strong>{--LANG_WARNING--}:</strong> ");
        if (isInstalled()) {
                // You have changed my configuration file!
-               mxchange_die("{--DIE_CONFIG_CHANGED_YOU--}");
+               app_die(__FILE__, __LINE__, "{--DIE_CONFIG_CHANGED_YOU--}");
        } else {
                // Please run the installation script (maybe again)
-               mxchange_die("{--DIE_RUN_INSTALL_MYSQL--}");
+               app_die(__FILE__, __LINE__, "{--DIE_RUN_INSTALL_MYSQL--}");
        }
 } elseif ((!isInstalling()) && (empty($MySQL['password'])) && (isBooleanConstantAndTrue('warn_no_pass'))) {
        // No database password entered!!!