【发布时间】:2012-07-25 08:19:23
【问题描述】:
我有一个项目想使用kohana框架,这个项目的组成如下:
test1(这是我项目中的一个模块)
课程
控制器
型号
意见
test2(这是我项目中的另一个模块)
课程
控制器
型号
意见
....更多
我想要这样的网址:
http://example.com/test1/controller/action/...
http://example.com/test2/controller/action/...
我该怎么做?
【问题讨论】:
-
问题是什么?您想通过 URL 定义目标模块吗?你读过kohanaframework.org/3.2/guide/kohana/files和kohanaframework.org/3.2/guide/kohana/requests吗?