简化设置php项目路径的方法:【header("Content-type:texthtml;charset=utf-8");$webrootpath = $_SERVER[‘DOCUMENT_ROOT‘];$easyw