Welcome Guest, Not a member yet? Register   Sign In
Codeigniter 3.0 forced uppercase naming of controllers and classes
#15

(05-20-2016, 03:07 AM)stefano.corsi Wrote: Another question: why couldn't CI let the route.php file decide if the controller has to be lowercase or ucfirst or whatever... for example, in my route.php file I have:

$route['default_controller'] = 'website'; //lowercase

and not:

$route['default_controller'] = 'Website'; // Ucfirst

But CI 3.0 does not complain and go searching for a "Website.php" file.

Why couldn't CI simply follow the naming used by the programmer and open the corresponding file?!

Because for every programmer that wants this, there are a 100 that would complain CI doesn't automate this.
Reply


Messages In This Thread
RE: Codeigniter 3.0 forced uppercase naming of controllers and classes - by Narf - 05-20-2016, 03:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB