'what','action','module' and 'output_mode' wrapped into functions (WARNUNG: Code...
[mailer.git] / inc / stylesheet.php
index 3748c130d14b6ebc7bb08875c69b5070933029a7..0e2045ae026938a12e0498acee01af40b7e8632b 100644 (file)
@@ -54,7 +54,7 @@ if ((isInstalling()) || (!isInstalled())) $STYLES[] = 'install.css';
 if (!isConfigEntrySet('css_php')) setConfigEntry('css_php', 'FILE');
 
 // Output CSS files or content or link to css.php ?
-if (($GLOBALS['output_mode'] == '1') || (getConfig('css_php') == 'DIRECT')) {
+if ((getOutputMode() == '1') || (getConfig('css_php') == 'DIRECT')) {
        // Load CSS files
        $STYLES = merge_array($STYLES, EXT_GET_CSS_FILES());