Skip to content

Commit

Permalink
Disable core commands
Browse files Browse the repository at this point in the history
  • Loading branch information
nadar authored Jan 1, 2018
1 parent eee7fbf commit 1c23435
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gmf
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@ $boot->setBaseYiiFile($vendor . '/yiisoft/yii2/Yii.php');
$boot->setConfigArray([
'id' => 'gmf',
'basePath' => dirname(__DIR__),
'enableCoreCommands' => false,
'controllerMap' => [
'fix' => 'gmf\FixController',
],
]);
$boot->applicationConsole();
$boot->applicationConsole();

0 comments on commit 1c23435

Please sign in to comment.