X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fxorg.inc.php;h=282ba964b3a11b1e6921c7443952a8dac9660dc4;hb=d8131af66ae5430930a21b036aa7e7fa9483ff91;hp=ed60c7f14fa26bbf01844dc020a342e87d609d83;hpb=08d7cc452e666835373023f2ca8416e75e2cb9c5;p=platal.git diff --git a/include/xorg.inc.php b/include/xorg.inc.php index ed60c7f..282ba96 100644 --- a/include/xorg.inc.php +++ b/include/xorg.inc.php @@ -1,6 +1,6 @@ changeTpl('platal/index.tpl'); - } - - public function run() - { - global $globals, $platal; - if (isset($platal) && $platal->path == 'register') { - $skin = $globals->register_skin . ".tpl"; - } else { - $skin = S::v('skin', $globals->skin . ".tpl"); - } - $this->_run('skin/' . $skin); - } -} +require_once dirname(dirname(__FILE__)) . '/core/include/platal.inc.php'; +require_once 'security.inc.php'; +require_once 'common.inc.php'; // vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: ?>