From cc50af25ec39fd4ac3955ea599816279a76623bd Mon Sep 17 00:00:00 2001 From: Qiang Xue Date: Sun, 14 Sep 2014 14:15:16 -0400 Subject: [PATCH] Finished console Gii. --- config/console.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/console.php b/config/console.php index 85297b3..31ed9c7 100644 --- a/config/console.php +++ b/config/console.php @@ -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',