]> git.mxchange.org Git - mailer.git/blobdiff - inc/loader/load_cache-config.php
'what','action','module' and 'output_mode' wrapped into functions (WARNUNG: Code...
[mailer.git] / inc / loader / load_cache-config.php
index cbb44999bb6711b4474c14a8199d4df80c562a9f..b0e9f29117517c1e5bcddf1520025aeef39c2260 100644 (file)
@@ -46,7 +46,7 @@ if (!defined('__SECURITY')) {
 if (($GLOBALS['cache_instance']->loadCacheFile('config', true)) && ($GLOBALS['cache_instance']->extensionVersionMatches('sql_patches'))) {
        // Load config from cache
        $GLOBALS['cache_array']['config'] = $GLOBALS['cache_instance']->getArrayFromCache();
-} elseif ((getConfig('cache_config') == 'Y') && ($GLOBALS['output_mode'] != '1') && ($GLOBALS['output_mode'] != '-1')) {
+} elseif ((getConfig('cache_config') == 'Y') && (getOutputMode() != '1') && (getOutputMode() != '-1')) {
        // Create cache file here
        $GLOBALS['cache_instance']->init('CONFIG');
        $GLOBALS['cache_instance']->storeExtensionVersion('sql_patches');