X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fxnet.inc.php;h=a8431e3722d4f7269b1a6981b774ea6465c657cd;hb=b17873a456b0ae3192d9766315b3d70685ee8691;hp=ce22b5d179978d54f94a69299c9cbbc9033f00e5;hpb=08d7cc452e666835373023f2ca8416e75e2cb9c5;p=platal.git diff --git a/include/xnet.inc.php b/include/xnet.inc.php index ce22b5d..a8431e3 100644 --- a/include/xnet.inc.php +++ b/include/xnet.inc.php @@ -23,16 +23,8 @@ define('PL_GLOBALS_CLASS', 'PlatalGlobals'); define('PL_SESSION_CLASS', 'XnetSession'); define('PL_PAGE_CLASS', 'XnetPage'); -require_once('platal.inc.php'); -require_once('xorg.misc.inc.php'); -require_once('globals.inc.php'); -require_once('xnet/session.inc.php'); -require_once('xnet/page.inc.php'); - -function __autoload($cls) -{ - pl_autoload($cls); -} +require_once dirname(dirname(__FILE__)) . '/core/include/platal.inc.php'; +require_once 'common.inc.php'; // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>