X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fxorg%2Fglobals.inc.php;h=1a9fe1f0d6bc9edadb54e5d5edc41711ca12f81a;hb=c2ef7ba6acceac38e17bf435ccb7bcab182bdbb1;hp=085a2d17408101c76b4ba5c5c048b3707224caa4;hpb=50a40a33a496131e817df875607ea5542d096a64;p=platal.git diff --git a/include/xorg/globals.inc.php b/include/xorg/globals.inc.php index 085a2d1..1a9fe1f 100644 --- a/include/xorg/globals.inc.php +++ b/include/xorg/globals.inc.php @@ -21,8 +21,6 @@ require_once('platal/globals.inc.php'); -// {{{ class XorgGlobals - class XorgGlobals extends PlatalGlobals { function XorgGlobals() @@ -33,30 +31,15 @@ class XorgGlobals extends PlatalGlobals function init() { global $globals; - require_once('xorg/hook.inc.php'); - require_once('xorg/menu.inc.php'); $globals = new XorgGlobals; $globals->core = new CoreConfig; - $globals->root = dirname(dirname(dirname(__FILE__))); - $globals->hook = new XOrgHook(); - $globals->menu = new XOrgMenu(); - - $globals->hook->config(null); $globals->read_config(); - $globals->hook->menu(null); - $globals->dbconnect(); - if ($globals->debug & 1) { - $globals->db->trace_on(); - } - $globals->xdb =& new XOrgDB; } } -// }}} - // vim:set et sw=4 sts=4 sws=4 foldmethod=marker: ?>