'what','action','module' and 'output_mode' wrapped into functions (WARNUNG: Code...
[mailer.git] / inc / loader / load_cache-them.php
index 382be5c04e9d31f1776aa2e63b5602cab198b855..87dd7a1c0daf9b53fbed5c37c55ee13048209aca 100644 (file)
@@ -69,7 +69,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('themes')) && ($GLOBALS['cache_in
 
        // Remove dummy array
        unset($cache);
-} elseif ((getConfig('cache_themes') == 'Y') && ($GLOBALS['output_mode'] != '1') && ($GLOBALS['output_mode'] != '-1')) {
+} elseif ((getConfig('cache_themes') == 'Y') && (getOutputMode() != '1') && (getOutputMode() != '-1')) {
        // Create cache file here
        $GLOBALS['cache_instance']->init('THEMES');
        $GLOBALS['cache_instance']->storeExtensionVersion('theme');