Mahor rewrite:
[mailer.git] / inc / loader / load_cache-config.php
index 150b7a4e62f761d66d3a3a5e94ae3d6c77cad907..d7da6fd7d0b6478b1ab1b7c959d611f3cd4ec203 100644 (file)
@@ -44,7 +44,7 @@ if (($cacheInstance->loadCacheFile("config", true)) && ($cacheInstance->extensio
        $cacheArray['config'] = $cacheInstance->getArrayFromCache();
 
        // TODO: Do we really need to cache the config???
-} elseif (($_CONFIG['cache_config'] == "Y") && ($CSS != "1") && ($CSS != "-1")) {
+} elseif ((getConfig('cache_config') == "Y") && ($CSS != "1") && ($CSS != "-1")) {
        // Create cache file here
        $cacheInstance->init("CONFIG");
        $cacheInstance->storeExtensionVersion("sql_patches");