{
return array(
'index' => $this->make_hook('index', AUTH_PUBLIC),
+ 'login' => $this->make_hook('login', AUTH_MDP),
'exit' => $this->make_hook('exit', AUTH_PUBLIC),
'admin' => $this->make_hook('admin', AUTH_MDP, 'admin'),
$page->changeTpl('xnet/index.tpl');
}
+ function handler_login(&$page)
+ {
+ pl_redirect('');
+ }
+
function handler_exit(&$page)
{
XnetSession::destroy();