]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-connect.php
Fixed missing action if provided module is invalid (e.g. module=http://foo-server)
[mailer.git] / inc / mysql-connect.php
index 82e55ff7195d9c9de1c474ded915104adbdf9398..e18c8cec126d799f2a042497a424bc603f193e16 100644 (file)
@@ -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