define('SERVER_URL', "http://www.mxchange.org");
// Current SVN revision
-define('CURR_SVN_REVISION', "673");
+define('CURR_SVN_REVISION', "674");
// Take a prime number which is long (if you know a longer one please try it out!)
define('_PRIME', 591623);
// Then run all filters
foreach ($filters[$filterName] as $filterFunction=>$active) {
// Debug message
- //* DEBUG: */ echo __FUNCTION__."(<font color=\"#0000aa\">".__LINE__."</font>): name={$filterName}, func={$filterFunction}, active={$active}<br />\n";
+ //* DEBUG: */ echo __FUNCTION__."(<font color=\"#0000aa\">".__LINE__."</font>): name={$filterName},func={$filterFunction},active={$active}<br />\n";
// Is the filter active?
if ($active == "Y") {
// No database load needed
$res_ext_crt = false;
- // Load more cache files (like admins)
- require_once(PATH."inc/load_cache.php");
-
// Load all extension files
foreach ($EXT_POOL as $ext) {
LOAD_EXTENSION($ext);
} // END - foreach
+ // Init filter system
+ INIT_FILTER_SYSTEM();
+
+ // Load more cache files (like admins)
+ require_once(PATH."inc/load_cache.php");
+
// Remove array
unset($EXT_POOL);
} else {
}
} // END - while
+ // Init filter system
+ INIT_FILTER_SYSTEM();
+
if ($cacheMode == "init") {
// Close cache file
$cacheInstance->finalize();
require($INC);
} // END - if
+// Make cacheInstance global
+global $cacheInstance;
+
// Let's start with the admins table...
if (($cacheInstance->loadCacheFile("admins")) && ($cacheInstance->extensionVersionMatches("admins"))) {
// Load cache
require($INC);
}
+// Make cacheInstance global
+global $cacheInstance;
+
// Next cached table is the configuration (config)...
if (($cacheInstance->loadCacheFile("config", true)) && ($cacheInstance->extensionVersionMatches("sql_patches"))) {
// Load config from cache
require($INC);
}
+// Make cacheInstance global
+global $cacheInstance;
+
// Next cached table is the module registry (mod_reg)...
if (($cacheInstance->loadCacheFile("mod_reg")) && ($cacheInstance->extensionVersionMatches("sql_patches"))) {
// Load cache
require($INC);
}
+// Make cacheInstance global
+global $cacheInstance;
+
// Next cached table is the referal system (refdepths)...
if (($cacheInstance->loadCacheFile("refdepths")) && ($cacheInstance->extensionVersionMatches("sql_patches"))) {
// Load referal system from cache
require($INC);
}
+// Make cacheInstance global
+global $cacheInstance;
+
// Next cached table is the referal system (refsystem)...
if (($cacheInstance->loadCacheFile("refsystem")) && ($cacheInstance->extensionVersionMatches("sql_patches"))) {
// Load referal system from cache
return false;
}
+// Make cacheInstance global
+global $cacheInstance;
+
// Next cached table is the referal system (themes)...
if (($cacheInstance->loadCacheFile("themes")) && ($cacheInstance->extensionVersionMatches("theme"))) {
// Load referal system from cache