Have you clear-cache? e.g.: ./symfony cc after the app.yml is updated?
Or may be you mean to do:
sfConfig::get('app_mbc_organisation_id');
On Thu, Sep 2, 2010 at 1:10 PM, Jochen Daum <[email protected]> wrote:
> Hi,
>
> I have /config/app.yml:
>
> # You can find more information about this file on the symfony website:
> # http://www.symfony-project.org/reference/1_4/en/11-App
>
> # default values
> all:
> mbc:
> organisation_id: 1
>
> mail:
> method: native
>
>
> and in a doctrine form class, use:
>
> $x = sfConfig::get('app_mbc');
>
> But $x is always null, what do I do wrong?
>
>
> Kind Regards,
>
> Jochen
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> 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
>
--
Blue Horn Ltd - System Development
http://bluehorn.co.nz
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
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