Finished console Gii.
This commit is contained in:
parent
8017996ccc
commit
cc50af25ec
@ -8,8 +8,11 @@ $db = require(__DIR__ . '/db.php');
|
|||||||
return [
|
return [
|
||||||
'id' => 'basic-console',
|
'id' => 'basic-console',
|
||||||
'basePath' => dirname(__DIR__),
|
'basePath' => dirname(__DIR__),
|
||||||
'bootstrap' => ['log'],
|
'bootstrap' => ['log', 'gii'],
|
||||||
'controllerNamespace' => 'app\commands',
|
'controllerNamespace' => 'app\commands',
|
||||||
|
'modules' => [
|
||||||
|
'gii' => 'yii\gii\Module',
|
||||||
|
],
|
||||||
'components' => [
|
'components' => [
|
||||||
'cache' => [
|
'cache' => [
|
||||||
'class' => 'yii\caching\FileCache',
|
'class' => 'yii\caching\FileCache',
|
||||||
|
Loading…
Reference in New Issue
Block a user