- global $cacheArray;
- $cacheArray['config'] = $cacheInstance->getArrayFromCache();
-
- // TODO: Do we really need to cache the config???
-} elseif ((getConfig('cache_config') == "Y") && ($CSS != "1") && ($CSS != "-1")) {
+ $GLOBALS['cache_array']['config'] = $GLOBALS['cache_instance']->getArrayFromCache();
+} elseif ((getConfig('cache_config') == 'Y') && ($GLOBALS['output_mode'] != '1') && ($GLOBALS['output_mode'] != '-1')) {