Copy code The code is as follows:
define('BASE_PATH',str_replace('\','/',realpath(dirname(__FILE__ ).'/../')));
http://www.bkjia.com/PHPjc/322320.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/322320.htmlTechArticleCopy the code as follows: define('BASE_PATH',str_replace('\','/',realpath(dirname (__FILE__).'/../')));...