Welcome Guest, Not a member yet? Register   Sign In
routes in HMVC
#1

[eluser]ssachan[/eluser]
Hello Wiredesignz,

I had posted a query earlier in this thread but didn't receive a reply. Hence I am sorry to spam this thread again. It seems that my routes are not working properly when I have HMVC in my system. Could you please
help me out with this. Here is my previous topic.

----------------------------------
I am on CI 2.0 + Modular Extensions and have been able to successfully set it up grin.
There are 2 questions I would like to ask.
1. Why is the MY_Controller class in core left empty?
2. I am trying to get internationalization running and for starters I added the following lines in my routes.php
$route[‘default_controller’] = “welcome”;
$route[’^en/(.+)$’] = “$1”;
$route[’^en$’] = $route[‘default_controller’];

now if I enter a my base_url/en, it should redirect me to welcome but I get a blank screen. Could you help me please.

thanks
Shikhar


Messages In This Thread
routes in HMVC - by El Forum - 11-12-2010, 02:02 AM
routes in HMVC - by El Forum - 11-12-2010, 02:07 AM



Theme © iAndrew 2016 - Forum software by © MyBB