$GLOBALS['cache_instance']->storeExtensionVersion("admins");
// Load every data from DB to cache file
- $ADD = RUN_FILTER('sql_admin_extra_data');
+ $ADD = runFilterChain('sql_admin_extra_data');
// Query the database about this
$result_admins = SQL_QUERY("SELECT id AS aid, login, password, email".$ADD."
// Close cache
$GLOBALS['cache_instance']->finalize();
- // Reload the cache
- LOAD_INC(__FILE__);
+ // Include loader again
+ require(__FILE__);
}
// Next cached table are the admins_acls...
// Check for cache file
if (($GLOBALS['cache_instance']->loadCacheFile("admins_acls")) && ($GLOBALS['cache_instance']->extensionVersionMatches("admins"))) {
// Load referal system from cache
- global $GLOBALS['cache_array'];
$GLOBALS['cache_array']['admin_acls'] = $GLOBALS['cache_instance']->getArrayFromCache();
} elseif ((getConfig('cache_acls') == "Y") && ($GLOBALS['output_mode'] != "1") && ($GLOBALS['output_mode'] != "-1")) {
// Create cache file here
// Close cache
$GLOBALS['cache_instance']->finalize();
- // Reload the cache
- LOAD_INC(__FILE__);
+ // Include loader again
+ require(__FILE__);
}
} // END - if