添加开关量控制composer autoload行为

This commit is contained in:
7IN0SAN9
2016-03-24 18:45:34 +08:00
parent 6392ca034d
commit 796d144d65
5 changed files with 74 additions and 55 deletions

View File

@@ -20,5 +20,5 @@ define('APP_DEBUG', true);
// 关闭应用自动执行
define('APP_AUTO_RUN', false);
// 加载框架引导文件
require __DIR__ . '/../start.php';
require __DIR__ . '/../think.php';
\think\Loader::addNamespace('tests', TEST_PATH);