Bonfire icon indicating copy to clipboard operation
Bonfire copied to clipboard

Unable to load view for custom routes

Open Hayat-Umar opened this issue 8 years ago • 1 comments

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.

Hayat-Umar avatar Jan 30 '17 14:01 Hayat-Umar

Linux system is case sensitive, and codeigniter ask for case seneitive. You can find codeigniter doc here PHP Style Guide

PeterRock avatar Apr 28 '17 06:04 PeterRock