/** * The page does not exist so we will show our custom 404 error page and header * * @see Usu_Main::getVar() * @see Uri_Redirects::needsRedirect() * @see Usu_Validator::redirect() * @uses session_write_close() * @uses header() * @uses exit() * * @access private * @return void */ private function pageNotFound() { include_once Usu_Main::i()->getVar('includes_path') . 'uri_redirects_class.php'; if (false !== ($url = Uri_Redirects::i()->needsRedirect())) { $this->redirect($url); } session_write_close(); header("HTTP/1.0 404 Not Found"); include_once Usu_Main::i()->getVar('includes_path') . 'notfound_404.php'; exit; }