Wiki selection is done by the Platal class.
[platal.git] / htdocs / xnet.php
index a530688..8b4e795 100644 (file)
  ***************************************************************************/
 
 $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:
 ?>