%PDF- %PDF-
| Direktori : /home/vacivi36/intranet.vacivitta.com.br/protected/humhub/modules/web/ |
| Current File : /home/vacivi36/intranet.vacivitta.com.br/protected/humhub/modules/web/config.php |
<?php
/** @noinspection MissedFieldInspection */
use humhub\modules\web\Events;
use humhub\modules\user\controllers\AuthController;
use humhub\modules\web\Module;
use yii\web\Controller;
return [
'id' => 'web',
'class' => Module::class,
'isCoreModule' => true,
'urlManagerRules' => [
'sw.js' => 'web/pwa-service-worker/index',
'manifest.json' => 'web/pwa-manifest/index',
'offline.pwa.html' => 'web/pwa-offline/index'
],
'events' => [
[Controller::class, Controller::EVENT_BEFORE_ACTION, [Events::class, 'onBeforeAction']],
[AuthController::class, AuthController::EVENT_AFTER_LOGIN, [Events::class, 'onAfterLogin']],
]
];