I have this conf in my app.yml (i've also tried in i18n.yml) file:

all:
  langs: [en, es_ES, ca_ES]

Then in my module actions.php i try to read it:

print_r (sfConfig::get('app_langs'));

And it's empty !! I've debug the config array and saw that it transforms
the array in variables: app_langs_0, app_langs_1, app_langs_2. That is,
if i put:

print_r (sfConfig::get('app_langs_0')); // Prints 'en'

Is it normal ? How could i get the array as array ?

Thanks in advance.
-- 
"Si has construido un castillo en el aire, no has perdido el tiempo, es
allí donde debería estar. Ahora debes construir los cimientos debajo de
él." - George Bernard Shaw, escritor irlandés

 Marc Montañés  *  mail/jabber: [EMAIL PROTECTED]  *  telf: 653182738 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to