CodeIgniter Forums
Problem with case sensitive in loading controllers - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19)
+--- Thread: Problem with case sensitive in loading controllers (/showthread.php?tid=62099)

Pages: 1 2


RE: Problem with case sensitive in loading controllers - CroNiX - 06-11-2015

Really, it would only take about 3 minutes to code and a few seconds to run a PHP script that uses glob() to get all filenames in a dir, ucfirst() the filenames and rename() them.


RE: Problem with case sensitive in loading controllers - no1youknowz - 06-12-2015

(06-11-2015, 01:56 PM)CroNiX Wrote: Really, it would only take about 3 minutes to code and a few seconds to run a PHP script that uses glob() to get all filenames in a dir, ucfirst() the filenames and rename() them.

Took me not even 30 seconds to implement my code.  If I get another 30 seconds, I may write some sort of patch for myself for future upgrade.   Cool

Seriously tho, learn some other code. Doing system stuff is better suited to either python, bash or even golang. You can't do everything in php and I certainly wouldnt want to either.


RE: Problem with case sensitive in loading controllers - isabella - 06-12-2015

Controller class name should be start from a capital letter, As it is convention in codeignetor.
You should try Profile instead of profile.