This commit is contained in:
2021-03-23 18:50:43 +08:00
parent 29660a22e4
commit 1a78828c4e
+1 -4
View File
@@ -109,10 +109,7 @@ class Application extends BaseApplication
{
try {
fire(Event::SERVER_BEFORE_START);
if (env('debug') == 'false') {
$annotation = Snowflake::app()->getAttributes();
$annotation->read(directory('app'), 'App');
}
$manager = Snowflake::app()->get('console');
$manager->setParameters($argv);
$class = $manager->search();