如果需要运行Gii for bootstrap,那么我应该运行哪个生成器,应该使用哪个名称运行?
下面是我的代码:
Yii::setPathOfAlias('bootstrap', dirname(__FILE__).'/../extensions/bootstrap');
return array(
'theme'=>'bootstrap', // requires you to copy the theme under your themes directory
'modules'=>array(
'gii'=>array(
'generatorPaths'=>array(
'bootstrap.gii',
),
),
),
'components'=>array(
'bootstrap'=>array(
'class'=>'bootstrap.components.Bootstrap',
),
),
);发布于 2013-06-27 23:45:44
`enter code here` 'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>'admin',
'generatorPaths'=>array(
'bootstrap.gii',
),
),https://stackoverflow.com/questions/14037297
复制相似问题