Pascal, gave me the solution on #symfony:

For now, you need to place app constants in /apps/appname/config/
app.yml if you want a validation yml to read them with sfConfig::get()

-Jared


On Jan 22, 2:16 am, Zoltán Németh <[EMAIL PROTECTED]> wrote:
> 2008. 01. 21, hétfő keltezéssel 22.06-kor Dave Dash ezt írta:
>
> > Unfortunately that did not work either.  I have to re-examine my files
> > again, but sfConfig::get didn't output things as planned.
>
> show me theapp.yml please than I maybe can help more :)
>
> greets
> Zoltán Németh
>
>
>
> > -d
>
> > On Jan 19, 2008 12:07 AM, Zoltán Németh <[EMAIL PROTECTED]>
> > wrote:
>
> >         2008. 01. 18, p�ntek keltez�ssel 10.10-kor Dave Dash ezt
> >         �rta:
>
> >         > Is their a way to use myconstantsdefined inapp.yml in a
> >        validation
> >         > file?
>
> >         > The %APP_CONSTANT% method did not work nor did <?php echo
> >         > sfConfig::get('app_constant')?>
>
> >         try
> >         <?php echo constant(sfConfig::get('app_constant'))?>
>
> >         greets
> >         Zolt�n N�meth
>
> >         reviewsby.us
> >         gtalk: dave.dash
--~--~---------~--~----~------------~-------~--~----~
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