|
系统入口文件中有define('BASEPATH', str_replace('\\', '/', $system_path));
我自定义了如下
//定义产品路径
define('PRO_PATH', constant('BASE_PATH').'/temp/productions/');
但调试的时候报错:
Warning: constant() [function.constant]: Couldn't find constant BASE_PATH
有好多地方都要用到constant()函数,请高手指教下!先谢谢了!
|
|