|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63457 Prefix module controllers with module name
Submitted: 2012-11-07 14:55 UTC Modified: 2017-10-24 08:00 UTC
From: 290182 at gmail dot com Assigned:
Status: Open Package: yaf (PECL)
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
34 - 32 = ?
Subscribe to this entry?

 [2012-11-07 14:55 UTC] 290182 at gmail dot com
If I have "news" module than its controller's names are same as in APP_PATH.'/controllers' (e.g. IndexController).

This cause names conflict when forwarding from one module controller to another.

It would be nice if module's controllers will be prefixed with module name (News_IndexController)


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2012-12-15 21:34 UTC]
-Status: Open +Status: Assigned -Assigned To: +Assigned To: laruence
 [2017-10-24 08:00 UTC]
-Status: Assigned +Status: Open -Assigned To: laruence +Assigned To:
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Wed Oct 21 08:01:23 2020 UTC