// 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 {
// Load extensions
$file1 = sprintf("%sinc/extensions/ext-%s.php", PATH, $content['ext_name']);
- $EXT_CSS = "N"; $EXT_ALWAYS_ACTIVE = "N";
// Does the extension file exists?
if (FILE_READABLE($file1)) {
}
} // END - while
+ // Init filter system
+ INIT_FILTER_SYSTEM();
+
if ($cacheMode == "init") {
// Close cache file
$cacheInstance->finalize();
// 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);