X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=include%2Fxorg.inc.php;h=cd6f6ff1077b061f7f50bec033bce59e7e13ad99;hb=bf52ec4e8de2e1c22020f7fffbf543ab4ee7f41a;hp=5f7af9680218be3894dbf96dc874b47b70e1b325;hpb=6b79b8efce6128e1a2382e1954de19d29485495f;p=platal.git diff --git a/include/xorg.inc.php b/include/xorg.inc.php index 5f7af96..cd6f6ff 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; - $this->assign_by_ref('globals', $globals); - 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: ?>