We have:
define('SYMFONY_VERSION', '1.2.4-DEV');
in sfCoreAutoload
Fabian
On Sun, Feb 1, 2009 at 3:19 PM, Lee Bolding <[email protected]> wrote:
>
> Over a year old this one...
>
> Where are we with this?
>
> Is there currently an easy way to programmatically determine which
> version of Symfony is being used?
>
> Eg 1.0, 1.1, 1.2 (I don't care about the increments after that)
>
> BTW, I'd go for a sfConfig::get('sf_symfony_version') over a global
> constant.
>
>
> On 6 Feb 2008, at 17:38, Mark D wrote:
>
> >
> > I also vote for global constant SYMFONY_VERSION, it doesn't make sense
> > to try to attach it to a specific class, and it doesn't sound quite
> > right on an Autoload class.
> >
> > On Feb 6, 3:37 am, "markus.staab" <[email protected]> wrote:
> >> +1 for global constant SYMFONY_VERSION
> > >
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---