diff --git a/app/common/command/build/tpl/think.temp b/app/common/command/build/tpl/think.temp index ad7bd90..179e544 100644 --- a/app/common/command/build/tpl/think.temp +++ b/app/common/command/build/tpl/think.temp @@ -6,12 +6,12 @@ namespace think; // 加载基础文件 require __DIR__ . '/vendor/autoload.php'; +require __DIR__ . '/{$lib_php_file}'; define('REUQEST_UID', uniqid()); // 应用初始化 $app = (new App()); -require __DIR__ . '/{$lib_php_file}'; $app->console->run(); \ No newline at end of file