【发布时间】:2017-08-16 14:32:24
【问题描述】:
我正在使用最新版本的 Codeigniter,并尝试实现特定的控制器文件夹结构。
我想为我的每个 webapp 版本创建一个控制器文件夹:
/controllers/1.0.0/login (where login is the name of the controller)
/controllers/2.0.0/login (where login is the name of the controller)
问题:Codeigniter 似乎在控制器文件夹中运行良好,但不适用于包含点的控制器文件夹:(
像这样工作得很好(没有点):
/controllers/100/login (where login is the name of the controller)
/controllers/200/login (where login is the name of the controller)
有没有办法让 Codeigniter 使用控制器文件夹上的点?
谢谢 谢
【问题讨论】:
-
你在哪里写这个路径?在你的配置文件中?
标签: codeigniter