X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Fxnet.php;h=8b4e7950d458a788f0ecda9c5c6dab3dba7248ca;hb=c76545c351fae4e2298624ff9ee5bf854dc5a5b6;hp=a530688ca5d10a7cf23eb81d262f22a019247051;hpb=fb813fb52d5ab65ca9a5b92b5cb9089523380d79;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: ?>