Welcome Guest, Not a member yet? Register   Sign In
HMVC - set default route
#4

(10-26-2015, 05:10 AM)Lykos22 Wrote:
(10-26-2015, 04:43 AM)davicotico Wrote: In that source structure, you have a folder "posts" (plural), and a controller "Post.php" (singular)

You mean it should be set as



PHP Code:
$route['default_controller'] = 'posts'
 


I meant that the Controller folder name should be the same as the main controller file name. 
-modules
- - post/
- - - - controllers/
- - - - - - Post.php
- - - - - - Admin.php

Reply


Messages In This Thread
HMVC - set default route - by Lykos22 - 10-26-2015, 04:37 AM
RE: HMVC - set default route - by davicotico - 10-26-2015, 04:43 AM
RE: HMVC - set default route - by Lykos22 - 10-26-2015, 05:10 AM
RE: HMVC - set default route - by davicotico - 10-26-2015, 05:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB