自动完成规则支持场景定义

This commit is contained in:
thinkphp
2016-02-18 16:53:35 +08:00
parent 45bf3e46b0
commit 98c94a1317
2 changed files with 51 additions and 52 deletions

View File

@@ -22,7 +22,7 @@ Loader::register();
// 加载模式定义文件
$mode = require MODE_PATH . APP_MODE . EXT;
// 加载空间别名定义
// 加载模式命名空间定义
if (isset($mode['namespace'])) {
Loader::addNamespace($mode['namespace']);
}