Untested, but I believe this is what you need:
# default values
all:
  .mbc:
    organisation_id: 1

  .mail:
    method: native

and then:

$x = sfConfig::get('app_mbc_organization_id');

On Wed, Sep 1, 2010 at 6:10 PM, Jochen Daum <jdau...@gmail.com> 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 symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com<symfony-users%2bunsubscr...@googlegroups.com>
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
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 symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to