作者:LAMP小白 点击:1874 发布日期:2014-02-14 13:46:26 返回列表
YII默认只允许本机访问GII
所以需要在config中额外加一个参数允许之外的IP进行访问
'modules'=>array( 'gii'=>array( 'class'=>'system.gii.GiiModule', 'password'=>'123456', 'ipFilters' => array('211.157.175.227') ), ),
这样就搞定了
上一篇:YII连接数据库 下一篇:快递查询API