- 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') && (getOutputMode() != '1') && (getOutputMode() != '-1')) {