This commit is contained in:
as2252258@163.com
2021-04-09 02:11:48 +08:00
parent 6c20b1b173
commit 54bc7b0b55
5 changed files with 9 additions and 8 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ class Application extends BaseApplication
$manager->setParameters($argv);
$class = $manager->search();
if (!($class instanceof Command)) {
scan_directory(APP_PATH, 'APP');
scan_directory(directory('app'), 'App');
}
response()->send($manager->execCommand($class));
} catch (\Throwable $exception) {