define('SERVER_URL', "http://www.mxchange.org");
// Current SVN revision
-define('CURR_SVN_REVISION', "694");
+define('CURR_SVN_REVISION', "695");
// Take a prime number which is long (if you know a longer one please try it out!)
define('_PRIME', 591623);
}
// Init "generic filter system"
-function INIT_FILTER_SYSTEM() {
+function INIT_FILTER_SYSTEM () {
global $filters, $loadedFilters, $counter;
// Is the filter already initialized?
$ret = true;
// Ok, Cookie-Update done
- if ((EXT_IS_ACTIVE("admins")) && (GET_EXT_VERSION("admins") > "0.2")) {
+ if (GET_EXT_VERSION("admins") >= "0.3") {
// Check if action GET variable was set
$action = SQL_ESCAPE($GLOBALS['action']);
if (!empty($GLOBALS['what'])) {
// Free memory
SQL_FREERESULT($res_ext_crt);
-} // END - if
+} else {
+ // Init filter system even when there are no extensions installed. #16
+ INIT_FILTER_SYSTEM();
+}
// Run the filter
RUN_FILTER('load_includes', $INC_POOL);