}
// Do we need to init the cache?
- if (($cacheMode == "init") && ($_CONFIG['cache_exts'] == "Y")) {
+ if (($cacheMode == "init") && (getConfig('cache_exts') == "Y")) {
// Init cache file
$cacheInstance->init("EXTENSIONS");
$cacheInstance->storeExtensionVersion("sql_patches");
- } elseif ($_CONFIG['cache_exts'] == "N") {
+ } elseif (getConfig('cache_exts') == "N") {
// Cache will not be created for extensions
$cacheMode = "skip";
}