public function force_login(PlPage $page) { header($_SERVER['SERVER_PROTOCOL'] . ' 403 Forbidden'); if (S::logged()) { $page->changeTpl('core/password_prompt_logged.tpl'); } else { $page->changeTpl('core/password_prompt.tpl'); } $page->assign_by_ref('platal', $this); $page->run(); }