Filenaming question |
[eluser]eedfwChris[/eluser]
I am sure whatever web server you are running on Mac does not see http://domain.com/User/ differently than http://domain.com/user/ whereas other servers (or platforms) do. This is definitely something that should be changed in CI for two reasons: 1) you know for a fact none of us want to keep track of $this->Whatever_Model and $this->load->model('Whatever_Model','whatever_model') is just ugly. 2) the noted problem that zaatar has had with "cross server" handling of cases. What I have found is that if CI loads your class it MUST be "Proper" case and by load I mean either: a) You use the autoloader b) You are extending a base class I think the idea is that controllers are allowed to be non "Proper" case since you are directly linking to them using the URL...... So unless you want to force the user to use http://domain.com/User/ then the filename should be undercase. |
Messages In This Thread |
Filenaming question - by El Forum - 10-21-2007, 09:51 AM
Filenaming question - by El Forum - 11-03-2007, 08:38 PM
Filenaming question - by El Forum - 11-03-2007, 08:46 PM
|