+1 for sfCoreAutoload::VERSION

- Dustin


On 2/5/08 6:17 AM, "Fabien POTENCIER" <[EMAIL PROTECTED]>
wrote:

> 
> Hi all,
> 
> The sfConfiguration refactoring is almost finished. It takes times but a
> lot of problems arose during the refactoring.
> 
> I still have some design decisions to take and to begin with, I need
> your advice on the way to get the current symfony version.
> 
> In symfony 1.0, to get the current symfony version, you had the
> sfCore::VERSION constant.
> 
> In symfony 1.1, sfCore will disappear and things will be dispatched
> between sfContext, sfProjectConfiguration, and sfApplicationConfiguration.
> 
> So, the question is, where to put this information?
> 
> The first thing you manipulate in symfony 1.1 is the configuration and
> the autoloader, so we can have
> 
>    sfCoreAutoload::VERSION
>    sfProjectConfiguration::VERSION
>    sfCoreAutoload::SYMFONY_VERSION.
> 
> But it doesn't feel right, does it?
> 
> Perhaps we can have a simple global constant
> 
>    SYMFONY_VERSION
> 
> As always, all comments are very welcomed.
> 
> Fabien



--~--~---------~--~----~------------~-------~--~----~
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