From 27db8a06b3228e900f1987d54c18bb1e64e14e8a Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 18 Aug 2011 01:23:51 +0200 Subject: Started main.php that later will bootstrap Ratatöskr. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ratatoeskr/main.php | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 ratatoeskr/main.php diff --git a/ratatoeskr/main.php b/ratatoeskr/main.php new file mode 100644 index 0000000..93cefe5 --- /dev/null +++ b/ratatoeskr/main.php @@ -0,0 +1,43 @@ +active; }); + $plugin_objs = array(); + foreach($activeplugins as $plugin) + { + eval($plugin->phpcode); + $plugin_obj = new $plugin->class; + $plugin_obj->init(); + $plugin_objs[] = $plugin_obj; + } + + /* Register URL handlers */ + register_url_handler("_default", "frontend_url_handler"); + register_url_handler("backend", $backend_subactions); + register_url_handler("_notfound", "e404handler"); +} + +?> -- cgit v1.2.3-70-g09d2