$cacheInstance->destroyCacheFile();
unset($cacheArray['admins']);
}
-} elseif (($_CONFIG['cache_admins'] == "Y") && ($CSS != "1") && ($CSS != "-1")) {
+} elseif ((getConfig('cache_admins') == "Y") && ($CSS != "1") && ($CSS != "-1")) {
// Create cache file
$cacheInstance->init("ADMINS");
$cacheInstance->storeExtensionVersion("admins");
// Load referal system from cache
global $cacheArray;
$cacheArray['admin_acls'] = $cacheInstance->getArrayFromCache();
- } elseif (($_CONFIG['cache_acls'] == "Y") && ($CSS != "1") && ($CSS != "-1")) {
+ } elseif ((getConfig('cache_acls') == "Y") && ($CSS != "1") && ($CSS != "-1")) {
// Create cache file here
$cacheInstance->init("ADMINS_ACLS");
$cacheInstance->storeExtensionVersion("admins");