Welcome Guest, Not a member yet? Register   Sign In
Forcing lower case controller names
#3

[eluser]Dam1an[/eluser]
One way around this (which I havn't tested, so may not work, but is worth a try, is creating a rule in config/routes.php for any uppercase string, something like
$route['([A-Za-z0-9]*)/('] = "strtolower($1)";

This should match any controller name which has upper case characters in it, and convert it to lowercase

Let me know if it works


Messages In This Thread
Forcing lower case controller names - by El Forum - 05-20-2008, 09:54 AM
Forcing lower case controller names - by El Forum - 05-20-2008, 10:08 AM
Forcing lower case controller names - by El Forum - 05-20-2008, 12:55 PM



Theme © iAndrew 2016 - Forum software by © MyBB