diff --git a/library/think/cache/driver/apc.php b/library/think/cache/driver/apc.php index 522b01c5..eb4a7a38 100644 --- a/library/think/cache/driver/apc.php +++ b/library/think/cache/driver/apc.php @@ -25,7 +25,9 @@ class Apc 'prefix' => '', 'length' => 0, ]; - + /***************************** + 需要支持apc_cli模式 + ******************************/ /** * 架构函数 * diff --git a/start.php b/start.php index 491ba596..1d73987b 100644 --- a/start.php +++ b/start.php @@ -46,6 +46,6 @@ if (APP_HOOK && isset($mode['tags'])) { if ('sae' != APP_MODE && is_file(APP_PATH . 'build.php')) { Create::build(include APP_PATH . 'build.php'); } - +Loader::addNamespace('tests',TEST_PATH); // 执行应用 !IN_UNIT_TEST && App::run();