This commit is contained in:
2021-03-05 16:36:18 +08:00
parent 41df099f4c
commit aa4127ed0e
4 changed files with 22 additions and 11 deletions
+4 -3
View File
@@ -109,9 +109,10 @@ class Application extends BaseApplication
{
try {
fire(Event::SERVER_BEFORE_START);
$this->set('input', $argv);
if (env('debug') === 'false') {
$annotation = Snowflake::app()->getAttributes();
$annotation->read(APP_PATH . 'app', 'App');
}
$manager = Snowflake::app()->get('console');
$manager->setParameters($argv);
$class = $manager->search();