EOD; exit; } $files = array_merge(glob("core/*.php"), glob("core/*/*.php"), glob("ext/*/main.php")); foreach($files as $filename) { require_once $filename; } $database = new Database(); $database->db->fnExecute = 'CountExecs'; $config = new Config(); $_theme = $config->get_string("theme", "default"); require_once "themes/$_theme/page.class.php"; require_once "themes/$_theme/layout.class.php"; require_once "themes/$_theme/themelet.class.php"; $page = new Page(); $user = get_user(); send_event(new InitExtEvent()); send_event(get_page_request($page)); $page->display(); ?>