复制代码 代码如下:
define("BASE_PATH",str_replace("\","/",realpath(dirname(__FILE__)."/../")));