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