Folder with same name of a class |
[eluser]Hugo Tessaro[/eluser]
Hello, Is possible to do this? \controllers -\account ---management.php -account.php a folder with same name of a file in the same dir? Ty
[eluser]WanWizard[/eluser]
No. Both in 1.7.2 and in 2.0, the Router class checks first if a controller exists with the name of the first URI segment. If so, it doesn't look any further. So http://hostname/account/management will always load the account controller.
|
Welcome Guest, Not a member yet? Register Sign In |