Finished console Gii.

This commit is contained in:
Qiang Xue 2014-09-14 14:15:16 -04:00
parent 8017996ccc
commit cc50af25ec

View File

@ -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',