How can you configure routes for such a structure. |
Hello, help me please.
How can you configure routes for such a structure. Application Modules --Shop ----Controllers ------Admin --------ControllerAdmin_1.php --------ControllerAdmin_2.php ------ControllerPublic_1.php ------ControllerPublic_2.php ----Models ----Views ----... ----... --Blog --Forum ... ... Need to... http://site.com/admin/blog/.... to Modules/Blog/Controllers/Admin/ControllersAdmin.php And http://site.com/blog/.... to Modules/Blog/Controllers/ControllersPublic.php So you can't? PHP Code: $routes->get('admin/([0-9a-z_-]+)', 'Modules\$1\Controllers\Admin\Index::index'); Thank. |
Messages In This Thread |
How can you configure routes for such a structure. - by Dedov_Evgeniy - 11-01-2018, 10:34 PM
RE: How can you configure routes for such a structure. - by InsiteFX - 11-02-2018, 04:34 AM
RE: How can you configure routes for such a structure. - by Dedov_Evgeniy - 11-02-2018, 11:43 AM
RE: How can you configure routes for such a structure. - by InsiteFX - 11-02-2018, 12:27 PM
RE: How can you configure routes for such a structure. - by kilishan - 11-02-2018, 12:48 PM
RE: How can you configure routes for such a structure. - by Dedov_Evgeniy - 11-04-2018, 06:00 AM
RE: How can you configure routes for such a structure. - by kilishan - 11-04-2018, 09:12 PM
RE: How can you configure routes for such a structure. - by Dedov_Evgeniy - 11-04-2018, 10:49 PM
RE: How can you configure routes for such a structure. - by Dedov_Evgeniy - 11-05-2018, 08:51 PM
RE: How can you configure routes for such a structure. - by kilishan - 11-06-2018, 07:23 AM
|