Oh wow, not sure how I missed that. Thanks!
On Feb 13, 4:13 am, Fabien Potencier <fabien.potenc...@symfony-
project.com> wrote:
> You need to put your code in the initialize() method, where the settings
> are already loaded. It only works for application configuration classes
> as settings are of course only loaded in an application context.
>
> Fabien
>
> --
> Fabien Potencier
> Sensio CEO - symfony lead developer
> sensiolabs.com | symfony-project.org | fabien.potencier.org
> Tél: +33 1 40 99 80 80
>
> ibolmo wrote:
> > Is this a design choice?
>
> > ---------- Forwarded message ----------
> > From: ibolmo <[email protected]>
> > Date: Feb 11, 4:21 pm
> > Subject: sfConfig problem in frontendConfiguration?
> > To: symfony users
>
> > Yeah.. should they be? I guess at one point they were:http://
> >www.symfony-project.org/book/1_2/17-Extending-Symfony#chapter_...
>
> > I hope this is just a bug. I'd hate to put static strings (esp. lib
> > directory strings) in that file.
>
> > On Feb 11, 3:02 pm, Jonathan Wage <[email protected]> wrote:
>
> >> I think at this point in frontendConfiguration/ProjectConfiguration the
> >> app.yml values are not loaded in to sfConfig.
>
> >> - Jon
>
> >> On Wed, Feb 11, 2009 at 4:59 PM, ibolmo <[email protected]> wrote:
>
> >>> I've been trying to sfConfig::get a setting I have in my ./config/
> >>> app.yml.
>
> >>> It's always returning a ''.
>
> >>> Ex: sfConfig::get('app_....');
>
> >>> Any ideas? I got this idea from the documentation for extending
> >>> symfony with other libraries.
>
> >>> Ex: if ($zend_lib_dir = sfConfig::get('app_zend_lib_dir')) { ...
>
> >> --
> >> Jonathan H. Wage
> >> Open Source Software Developer &
> >> Evangelisthttp://www.jwage.comhttp://www.doctrine-project.orghttp://www.symfony...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" 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-devs?hl=en
-~----------~----~----~----~------~----~------~--~---