fix
This commit is contained in:
1 parent
6db4e4252b
commit
1ce2058830
6 files changed
+84
-33
No files matched your search
+10
@@ -21,4 +21,14 @@ class Module extends \yii\base\Module
|
||||
|
||||
// custom initialization code goes here
|
||||
}
|
||||
public function bootstrap($app)
|
||||
{
|
||||
if ($app instanceof \yii\console\Application) {
|
||||
$app->controllerMap[$this->id] = [
|
||||
'class' => 'dominion\cron\console\MoleController',
|
||||
'module' => $this,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user