Hi there,

yes if you use a case insensitive FileSystem it does not matter if you  
write admin or AdMin. I had the same experience, when coding a app on  
OS X :)

What I did not understand was your second question.
If you have named the Module "Admin" and then use "admin" as module  
name on the action-create It will fail on OS X. But this is not really  
an issue of Agavi, but rather a OS weirdness.
Just use your self a coding convention saying, that all Modules start  
with an upper case letter and then also use this while coding, then  
you'll be fine.

Cheers
---
Benjamin Börngen-Schmidt
[email protected]



Am 24.10.2009 um 13:38 schrieb Michal Charemza:

> Hi,
>
> I recently found an issue when moving a project over from Mac to
> Linux. I found if I create a module
>
> "Admin"
>
> Then on a Mac using the
>
> AgaviContext::getModel
>
> method works using both "admin" and "Admin", but fails on linux: I'm
> assuming this is due to the fact that Mac has a case insensitive file
> system...?
>
> Also, when creating an action using "agavi action-create" and entering
> "admin", the script works fine with no error, but the lower case
> "admin" is used in paths / class names (and the class names do then
> fail on Mac). I wonder if these issues should be fixed somehow...?
>
> Michal.
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users


_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users

Reply via email to