$url['url'] = 'http://'.str_ireplace(rtrim(str_replace('\\','/',$_SERVER['DOCUMENT_ROOT']), '/'), $_SERVER['HTTP_HOST'], str_replace('\\', '/', dirname(__FILE__))).'/';
//获取根路径 http://127.0.0.1/cx/
$root['path'] = str_replace('\\','/',dirname(__FILE__)).'/';
项目入口 E:/upupw/htdocs/cx/