CodeIgniter Forums
Display error when file or class name does not have first letter upper case - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1)
+--- Forum: Lounge (https://forum.codeigniter.com/forumdisplay.php?fid=3)
+--- Thread: Display error when file or class name does not have first letter upper case (/showthread.php?tid=64664)



Display error when file or class name does not have first letter upper case - wolfgang1983 - 03-19-2016

I would like to know if this would be a good error message to have some how for the next CI update.

That if a class or file name does not have first letter and only first letter upper case then should throw a error for the CI user even on a localhost

It will save people asking the same questions on forums like stackoverflow. why is my project working on localhost but not live server.

People are not reading the user guide.


RE: Display error when file or class name does not have first letter upper case - Narf - 03-19-2016

That would require additional checks, which goes against the whole point of relying on a convention.