本地:http://localhost/54/ book/default/index.html
http://localhost/54/ 是应用的根目录
book是模块,default是默认的Controller,index是动作
因为模块基本上都用DefaultController做默认的Controller,default也没什么实际的意义
我现在想在访问的时候把这个default隐藏掉
[color="#FF0000"]就是路径变成http://localhost/54/book/index.html[/color],不知道有没有什么好办法
我试过在config/main.php里 配置controllerMap
可是出一堆问题
我现在是想http://localhost/54/book/index.html 可以访问到 r=book/default/index
并且http://localhost/54/book/admin/index.html 访问r=book/admin/index 还不会受影响
谁有好办法~~ 帮帮忙啦~ 感谢