View file modules/pages/error.php
<?php define('R', $_SERVER['DOCUMENT_ROOT']); define('S', R.'/system'); require_once(R.'/system/kernel.php'); $tmp->header('error'); $code = my_int($db->guard($_GET['code'])); $error_list = array('404' => '404 Not Found', '403' => '403 Forbidden'); $tmp->div('error', $error_list[$code]); $tmp->home(); ?>