Bonfire
Bonfire copied to clipboard
Unable to load view for custom routes
I have create a module named 'Consumers' Default URL pointing this module is http://localhost/public/admin/settings/consumers/create I had created my custom route in config/route.php file $route['water/consumer/add'] = 'consumer/Settings/create'; Default route for this module's method work fine. But with custom route it gives error unable to load view settings/create.php on Linux Machine. Error get resolved if i rename settings folder to Settings, But i am amazed how settings works fine for default route and not work on custom route.
Linux system is case sensitive, and codeigniter ask for case seneitive. You can find codeigniter doc here PHP Style Guide