Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何把Index模块弄到modules文件夹? #91

Open
ghost opened this issue Apr 9, 2014 · 2 comments
Open

如何把Index模块弄到modules文件夹? #91

ghost opened this issue Apr 9, 2014 · 2 comments

Comments

@ghost
Copy link

ghost commented Apr 9, 2014

我现在是默认的Index模块在application文件夹下边,其它模块在application下的modules下边,但是这样我访问其它模块的时候,需要指定模块/controller/action,如果没有指定到action级别,就会访问到默认的Index模块,我想是不是能把index模块也弄到modules里去?
这样就可以不用加默认的controller/action了

@jingdor
Copy link

jingdor commented Jul 10, 2014

不能 你可以用 rewrite 解决这个问题

@letwang
Copy link

letwang commented Dec 6, 2018

不能
默认是index必须使用 可以增加其他模块
https://github.com/letwang/HookPHP/tree/master/app/admin/modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants