]> git.mxchange.org Git - mailer.git/blobdiff - inc/mysql-connect.php
New wrapper functions introduced
[mailer.git] / inc / mysql-connect.php
index 8243597d6629cef12ed24e8bb615e0c7d14ee839..959ccfd6828f3a2ce686034dc161f3c95daebb55 100644 (file)
@@ -136,7 +136,7 @@ if ((!isInstalling()) && (!isInstallationPhase())) {
        setConfigEntry('OUTPUT_MODE', 'direct');
 
        // This hack prevents a backtrace in CSS output
-       if (getScriptOutputMode() == 1) {
+       if (isCssOutputMode()) {
                // Problem with config so set output mode
                setConfigEntry('OUTPUT_MODE', 'render');
        } // END - if
@@ -157,7 +157,7 @@ if ((!isInstalling()) && (!isInstallationPhase())) {
        runFilterChain('init');
 
        // Are we installation routine?
-       if ((!isInstalling()) && (getScriptOutputMode() != 1) && (getScriptOutputMode() != -1)) {
+       if ((!isInstalling()) && (!isCssOutputMode()) && (!isRawOutputMode())) {
                // You have to install first!
                redirectToUrl('install.php');
        } // END - if