HMVC problem with routes |
Here's an example of something that routes from the module do not work for example with /app/modules/mymodul/config/routes.php
routers work in /app/config/routes.php I tried various solutions that were offered but each had some kind of disadvantages for example. /app/config/rout.php PHP Code: $modules_path = APPPATH.'modules/'; PHP Code: $route['admin'] = 'admin/index'; and it turns out that for some reason the first parameter does not understand, for example, we have the address such as / admin / users, then it does not see this users parameter here is my function that takes parameters http://prntscr.com/rhrcrs and it turns out that this method does not see the first parameter; for some reason, the inscription Index will fall into it everywhere as the name of the method, and I can’t understand why this happens. |
Messages In This Thread |
HMVC problem with routes - by midav - 03-17-2020, 05:35 AM
RE: HMVC problem with routes - by jreklund - 03-17-2020, 11:27 AM
|