X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Fxorg.php;h=1c5b41a69b1d6e55d270fa5300df92fd8a98b679;hb=904a82deab29093fa466256194db8527450efd27;hp=93226b9ccc6b8efc16fc8e66465bece1d28858bf;hpb=ebd515f95f03f8a87f9b846d65e179b39a535222;p=platal.git diff --git a/htdocs/xorg.php b/htdocs/xorg.php index 93226b9..1c5b41a 100644 --- a/htdocs/xorg.php +++ b/htdocs/xorg.php @@ -20,23 +20,21 @@ ***************************************************************************/ require_once dirname(__FILE__).'/../include/xorg.inc.php'; -global $globals, $platal, $page; -if (!($path = Env::v('n')) || ($path{0} < 'A' || $path{0} > 'Z')) { +$platal = new Xorg('auth', 'carnet', 'email', 'events', 'forums', + 'geoloc', 'lists', 'marketing', 'payment', 'platal', + 'profile', 'register', 'search', 'stats', 'admin', + 'newsletter', 'axletter', 'bandeau', 'survey', + 'gadgets', 'googleapps', 'poison'); - $platal = new Platal('auth', 'carnet', 'email', 'events', 'forums', - 'geoloc', 'lists', 'marketing', 'payment', 'platal', - 'profile', 'register', 'search', 'stats', 'admin', - 'newsletter', 'axletter', 'bandeau', 'survey', - 'gadgets', 'googleapps'); +if (!($path = Env::v('n')) || ($path{0} < 'A' || $path{0} > 'Z')) { $platal->run(); - exit; } /*** WIKI CODE ***/ -include 'wiki/engine.php'; +include pl_core_include('wiki.engine.inc.php'); // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>