X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=htdocs%2Fxnet.php;h=6cf1f7ccc03233547e0dd0bf4e40cbad72483612;hb=5bc6e9e64bbc884c4878b56d3e5cb7b514e66920;hp=93c15529a672126b32f1fb2bd423a55b9d781438;hpb=45f7622630b53847f25cd425bb381a34305c8cd4;p=platal.git diff --git a/htdocs/xnet.php b/htdocs/xnet.php index 93c1552..6cf1f7c 100644 --- a/htdocs/xnet.php +++ b/htdocs/xnet.php @@ -21,13 +21,10 @@ $GLOBALS['IS_XNET_SITE'] = true; -require 'xnet.inc.php'; - -require_once dirname(__FILE__).'/../classes/Xnet.php'; -require_once dirname(__FILE__).'/../classes/PLModule.php'; +require_once dirname(__FILE__).'/../include/xnet.inc.php'; if (!($path = Env::v('n')) || substr($path, 0, 4) != 'Xnet') { - $platal = new Xnet('xnet', 'xnetgrp', 'xnetlists', 'xnetevents', 'geoloc'); + $platal = new Xnet('xnet', 'xnetgrp', 'xnetlists', 'xnetevents', 'geoloc', 'payment'); $platal->run(); exit; @@ -42,7 +39,7 @@ if (!$n) { pl_redirect(''); } -new_skinned_page('wiki.tpl'); +new_skinned_page('core/wiki.tpl'); $perms = wiki_get_perms($n); switch (Env::v('action')) {