'what','action','module' and 'output_mode' wrapped into functions (WARNUNG: Code...
[mailer.git] / inc / loader / load_cache-modreg.php
index 92be2dfe84510e65f8683d9cbed5fe6c6c75316f..b37d67f01777f11cd4101da2ef51d667a81c299c 100644 (file)
@@ -68,7 +68,7 @@ if (($GLOBALS['cache_instance']->loadCacheFile('modreg')) && ($GLOBALS['cache_in
                } // END - if
        } // END - foreach
        unset($modArray);
-} elseif ((getConfig('cache_modreg') == 'Y') && ($GLOBALS['output_mode'] != '1') && ($GLOBALS['output_mode'] != '-1')) {
+} elseif ((getConfig('cache_modreg') == 'Y') && (getOutputMode() != '1') && (getOutputMode() != '-1')) {
        // Create cache file here
        $GLOBALS['cache_instance']->init('MODULES');
        $GLOBALS['cache_instance']->storeExtensionVersion('sql_patches');