]> git.mxchange.org Git - mailer.git/blobdiff - inc/stylesheet.php
More rewrites, and output-mode fixed (we should documentate this)
[mailer.git] / inc / stylesheet.php
index 219918f6b25e32b310880266b7310ea89f22756b..cd64492f18d13a9fd80b9c12b19e1faa74d39e96 100644 (file)
@@ -53,7 +53,7 @@ if ((isInstallationPhase())) $STYLES[] = 'install.css';
 if (!isConfigEntrySet('css_php')) setConfigEntry('css_php', 'FILE');
 
 // Output CSS files or content or link to css.php ?
-if ((getOutputMode() == '1') || (getConfig('css_php') == 'DIRECT')) {
+if ((getOutputMode() == 1) || (getConfig('css_php') == 'DIRECT')) {
        // Load CSS files
        $STYLES = merge_array($STYLES, getExtensionCssFiles());
 
@@ -82,7 +82,7 @@ if ((getOutputMode() == '1') || (getConfig('css_php') == 'DIRECT')) {
                        } // END - switch
                } // END - if
        } // END - foreach
-} elseif ((getOutputMode() == '0') || (getConfig('css_php') == 'INLINE')) {
+} elseif ((getOutputMode() == 0) || (getConfig('css_php') == 'INLINE')) {
        // Load CSS files
        $STYLES = merge_array($STYLES, getExtensionCssFiles());