* -------------------------------------------------------------------- *
* Kurzbeschreibung : Mehr Cache-Dateien nachladen *
* -------------------------------------------------------------------- *
- * *
+ * $Revision:: $ *
+ * $Date:: $ *
+ * $Tag:: 0.2.1-FINAL $ *
+ * $Author:: $ *
+ * Needs to be in all Files and every File needs "svn propset *
+ * svn:keywords Date Revision" (autoprobset!) at least!!!!!! *
* -------------------------------------------------------------------- *
* Copyright (c) 2003 - 2008 by Roland Haeder *
* For more information visit: http://www.mxchange.org *
$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."
+ $result_admins = SQL_QUERY("SELECT id AS aid, login, password, email".$add."
FROM `{!_MYSQL_PREFIX!}_admins`
ORDER BY login", __FILE__, __LINE__);
- while($dummy = SQL_FETCHARRAY($result_admins)) {
+ while ($dummy = SQL_FETCHARRAY($result_admins)) {
// Save row
$GLOBALS['cache_instance']->addRow($dummy);
} // END - while
// 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