function page404() { /*Generation 404 Code */ header("HTTP/1.0 404 Not Found"); //$model = 'notfound';$controllerName='';$action=''; //$cntroler = new SiteController($model,$controllerName,$action); $cntroler = new SiteController('notfound', '', ''); $cntroler->render('notfound'); die; }