mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Fix #2648: Prevent console Application static initialization
This commit is contained in:
parent
41d5ad4408
commit
eebc8145c3
@ -9,7 +9,6 @@
|
||||
use humhub\modules\dashboard\widgets\Sidebar;
|
||||
use humhub\modules\admin\Events;
|
||||
use humhub\commands\CronController;
|
||||
use humhub\components\console\Application;
|
||||
|
||||
return [
|
||||
'id' => 'admin',
|
||||
@ -33,8 +32,8 @@ return [
|
||||
]
|
||||
],
|
||||
[
|
||||
'class' => Application::className(),
|
||||
'event' => Application::EVENT_ON_INIT,
|
||||
'class' => 'humhub\components\console\Application',
|
||||
'event' => 'onInit',
|
||||
'callback' => [
|
||||
Events::className(),
|
||||
'onConsoleApplicationInit'
|
||||
|
Loading…
x
Reference in New Issue
Block a user