请问下怎么使用GII?
请问下怎么使用GII?
在app config里添加:
return array(
......
'modules'=>array(
'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>***choose a password***
),
),
)
然后通过/index.php?r=gii来访问
不过目前只有一个代码生成器。
谢谢。。