$this->make_hook('handler_403', AUTH_PUBLIC, ''), '404' => $this->make_hook('handler_404', AUTH_PUBLIC, ''), ); } function handler_auth(&$page) { return PL_OK; } function handler_403(&$page) { header('HTTP/1.0 403 Forbidden'); $page->changeTpl('403.tpl'); return PL_OK; } function handler_404(&$page) { header('HTTP/1.0 404 Not Found'); $page->changeTpl('404.tpl'); return PL_OK; } } ?>