HMVC Routes 404 Over Ride?? |
I would like why in HMVC you can do this in routes on default controller.
Works fine with HMVC PHP Code: $route['default_controller'] = 'catalog/common/home/index'; But when use 404 over ride Does not pick up. PHP Code: $route['404_override'] = 'admin/error/not_found/index'; I would of thought that because you could do it for default controller you should of been able to do it for 404 over ride. I just need 404 pages to be in sub folders. But do not want to touch system folders.
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
(11-22-2015, 01:57 AM)Martin7483 Wrote: See this That is for normal codeigniter I am now using HMVC but don't really want to touch the system files, for changing 404
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
And that is my point, you can't because of where the 404 check is done.
You could use the default 404 as a redirect to your custom 404. Or create a 404 module within your HMVC and call it's controller from the default 404. |
Welcome Guest, Not a member yet? Register Sign In |