'APP_GROUP_LIST'=>'Admin,Home',
'DEFAULT_GROUP'=>'Home',
第一步骤:在config.php配置文件中添加入上两行代码
在我们启用项目分组之前,由于使用的两个项目,所以URL地址分别是:
http://<serverName>/index.php/Index/index Home项目地址
http://<serverName>/Admin/index.php/Index/index Admin项目地址
采用了分组模式后,URL地址变成:
http://<serverName>/index.php/Home/Index/index
如果Home是默认分组的话 还可以变成 http://<serverName>/index.php/Index/index
http://<serverName>/index.php/Admin/Index/index