/**
* 返回错误代码,将错误页面放在入口文件目录./Public/httpstatus下,命名为 404.html,403.html,503.html等等
* @param $string 错误代码
* @param $msg 错误信息例如NOT FOUND,可以省略
*/
function httpstatus($string="404",$msg=""){
header("http/1.1 {$string} {$msg}");
include './Public/httpstatus/'.$string.'.html';
exit;
}