Mahor rewrite:
[mailer.git] / inc / loader / load_cache-modreg.php
index 25f5652c21adac824290d6b61295870d98c03437..5d5196efddec8fd34c03c465e76123013f03657e 100644 (file)
@@ -64,7 +64,7 @@ if (($cacheInstance->loadCacheFile("mod_reg")) && ($cacheInstance->extensionVers
                } // END - if
        } // END - foreach
        unset($modArray);
-} elseif (($_CONFIG['cache_modreg'] == "Y") && ($CSS != "1") && ($CSS != "-1")) {
+} elseif ((getConfig('cache_modreg') == "Y") && ($CSS != "1") && ($CSS != "-1")) {
        // Create cache file here
        $cacheInstance->init("MODULES");
        $cacheInstance->storeExtensionVersion("sql_patches");