X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmysql-connect.php;h=e18c8cec126d799f2a042497a424bc603f193e16;hb=690f7a8f3a13d6606094d5cff15ee8c6bf7d829d;hp=c01636fe48014119fafa6d4667bbc8c93a94215b;hpb=24168ba5d985b163474e46dbe9440962b85bb193;p=mailer.git diff --git a/inc/mysql-connect.php b/inc/mysql-connect.php index c01636fe48..e18c8cec12 100644 --- a/inc/mysql-connect.php +++ b/inc/mysql-connect.php @@ -121,15 +121,15 @@ if ((!isInstalling()) && (!isInstallationPhase())) { } } else { // Wrong database? - addFatalMessage(__FILE__, __LINE__, getMessage('WRONG_DB_SELECTED')); + addFatalMessage(__FILE__, __LINE__, '{--WRONG_DB_SELECTED--}'); } } else { // No link to database! - addFatalMessage(__FILE__, __LINE__, getMessage('NO_DB_LINK')); + addFatalMessage(__FILE__, __LINE__, '{--NO_DB_LINK--}'); } } else { // Maybe you forgot to enter your MySQL data? - addFatalMessage(__FILE__, __LINE__, getMessage('MYSQL_DATA_MISSING')); + addFatalMessage(__FILE__, __LINE__, '{--MYSQL_DATA_MISSING--}'); } } else { /////////////////////////////////////////////////// @@ -140,7 +140,7 @@ if ((!isInstalling()) && (!isInstallationPhase())) { setConfigEntry('OUTPUT_MODE', 'direct'); // This hack prevents a backtrace in CSS output - if (getOutputMode() == 1) { + if (getScriptOutputMode() == 1) { // Problem with config so set output mode setConfigEntry('OUTPUT_MODE', 'render'); } // END - if @@ -161,7 +161,7 @@ if ((!isInstalling()) && (!isInstallationPhase())) { runFilterChain('init'); // Are we installation routine? - if ((!isInstalling()) && (getOutputMode() != 1) && (getOutputMode() != -1)) { + if ((!isInstalling()) && (getScriptOutputMode() != 1) && (getScriptOutputMode() != -1)) { // You have to install first! redirectToUrl('install.php'); } // END - if