提交 8c02fed9 编写于 作者: D devil

优化服务器目录与系统目录冲突问题

上级 18cf3581
......@@ -43,7 +43,7 @@ define('__MY_VIEW_URL__', substr(__MY_URL__, 0, -1).$request_url);
define('ROOT_PATH', str_replace('\\', DS, dirname(__FILE__)).DS);
// 系统根目录 去除public
define('ROOT', str_replace('public'.DS, '', ROOT_PATH));
define('ROOT', substr(ROOT_PATH, 0, -7));
// 定义应用目录
define('APP_PATH', ROOT.'application'.DS);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册