I found an odd behaviour, and I need some help if someone knows the answers.
Behaviour seems different between app/code/local/Mage and app/code/local/MyCompany (or whatever)
If I have a module Mymodule in app/code/local/Mage with a Model Mymodel (app/code/local/Mage/Mymodule/Model/Mymodel) I can load it with :
Mage::getModel('*M*ymodule/Mymodel') or Mage::getModel('*m*ymodule/Mymodel') both are working ...
But If the module is in app/code/local/Mycompany the name is case sensitive and only one will work, depending on config.xml
<model>
<**m**ymodule>
<class>Mycompany_Mymodule_Model</class>
<resourceModel>cybermut_mysql4</resourceModel>
</**m**ymodule>
</models>
will allows Mage::getModel('*m*ymodule/Mymodel')
and
<models>
<**M**ymodule>
<class>Mycompany_Mymodule_Model</class>
<resourceModel>cybermut_mysql4</resourceModel>
</**M**ymodule>
</models>
will allows Mage::getModel('*M*ymodule/Mymodel')
Why is there this different behaviour between local/Mage and local/Alltheothers ???
PS: It's not a rewriting it's a home made module and I'm using CE 1.4.2 Best Regards