Great!

Fabien, please forgive me if you already wrote that: is this commit
part of Symfony 1.0.x branch or 1.1?

-- Simone


On Jul 16, 2:30 pm, Fabien POTENCIER <[EMAIL PROTECTED]
project.com> wrote:
> As of r4550 (http://trac.symfony-project.com/trac/changeset/4550), the
> VERSION file was removed and replaced by sfCore::VERSION constant.
>
> Fabien
>
> weppos wrote:
> > Yesterday I came across the need to get Symfony version.
> > I searched forums and groups but it seems the only way to get Symfony
> > version is to read VERSION file
>
> > <?php echo
> > trim(file_get_contents(sfConfig::get('sf_symfony_lib_dir').'/
> > VERSION')); ?>
>
> > Symfony itself uses this function to check correspondence between
> > cache and library.
>
> > I would suggest to provide a convenient method for gathering Symfony
> > version.
> > If I have to display Symfony release 10 times in my code, PHP has to
> > fetch 10 times given file (obviously if I don't store its value into a
> > variable).
>
> > What about a sfSymfony::VERSION (if I'm right pake already works in
> > this way with const VERSION = '1.1.DEV'; ) or a convenient library
> > that may provide both cached/not cached version number?
>
> > -- Simone


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to symfony-devs@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to