|
|
@@ -8,8 +8,11 @@ $db = require(__DIR__ . '/db.php');
|
|
|
return [
|
|
|
'id' => 'basic-console',
|
|
|
'basePath' => dirname(__DIR__),
|
|
|
- 'bootstrap' => ['log'],
|
|
|
+ 'bootstrap' => ['log', 'gii'],
|
|
|
'controllerNamespace' => 'app\commands',
|
|
|
+ 'modules' => [
|
|
|
+ 'gii' => 'yii\gii\Module',
|
|
|
+ ],
|
|
|
'components' => [
|
|
|
'cache' => [
|
|
|
'class' => 'yii\caching\FileCache',
|