Welcome Guest, Not a member yet? Register   Sign In
How can I get capitalized controller names?
#1

[eluser]Isos[/eluser]
Hello. I would like to have capitalized controllers that should appear in the URL, something like: www.mywebsite.com/MyBlog .. I tried doing that but I got page not found error.

How can this be done?

Thanks
#2

[eluser]xwero[/eluser]
You have to hack the loader library to not lowercase the controller class for this to work.
#3

[eluser]Colin Williams[/eluser]
And by "hack" xwero means create an application/libraries/MY_Loader.php file that overrides the necessary methods
#4

[eluser]Matthew Lanham[/eluser]
If i were you though, i'd stick to lowercase as it makes your application much more search engine friendly.
#5

[eluser]DPrevite[/eluser]
I don't think Google cares if they are upper or lower case, but lower case sure does look nicer.




Theme © iAndrew 2016 - Forum software by © MyBB