PHP自定义错误处理函数

function customError($errno, $errstr) { header("location:Controller/index.php"); } set_error_handler("customError");

posted @ 2015-03-18 14:46  imoxie  阅读(51)  评论(0编辑  收藏  举报