X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Fxnet.php;h=8b4e7950d458a788f0ecda9c5c6dab3dba7248ca;hb=6d69b5270243afba5d4868b2ad07761233a53ef3;hp=a530688ca5d10a7cf23eb81d262f22a019247051;hpb=2d5e7fbadbc02ce3964c55b0b9a97c39f2542071;p=platal.git diff --git a/htdocs/xnet.php b/htdocs/xnet.php index a530688..8b4e795 100644 --- a/htdocs/xnet.php +++ b/htdocs/xnet.php @@ -20,18 +20,8 @@ ***************************************************************************/ $GLOBALS['IS_XNET_SITE'] = true; - require_once dirname(__FILE__).'/../include/xnet.inc.php'; - -$platal = new Xnet('xnet', 'xnetgrp', 'xnetlists', 'xnetevents', 'payment', 'bandeau'); -if (!($path = Env::v('n')) || substr($path, 0, 4) != 'Xnet') { - $platal->run(); - exit; -} - -/*** WIKI CODE ***/ - -include pl_core_include('wiki.engine.inc.php'); +require_once pl_core_include('run.inc.php'); // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>