Hey Frederic,

sorry, you're out of luck. Adding a "_" doesn't mean that you're
stepping through the array of values..
You can only access the first level of values directly.

Daniel


On May 1, 10:44 am, fredlab <[email protected]> wrote:
> Hey,
>
> I am developing a task that gets data from app.yml of my general
> config directory (the one under my project root directory).
>
> My problem is that if my app.yml file is :
>
> app:
>   textarea:
>     col: 40
>
> then when if do :
>
> if (sfconfig:get('app_textarea_col')
> {
>   .... do this
>
> }
>
> then it does not do what is under the brackets.
>
> When I change my file to :
>
> app:
>    textarea_col: 40
>
> then the condition works and it does what is under brackets.
>
> Does anyone have an idea how I can correct that. The second way of
> creating my app.yml file is not what I want has it makes my file
> difficult to read.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to [email protected]
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