So you mean to make this function as a config value and set different
config for dev and for prod...that is very nice solution, I'll check
it, thank you:)

On 16 Lut, 21:46, Eno <symb...@gmail.com> wrote:
> On Mon, 16 Feb 2009, Tomasz Ignatiuk wrote:
> > I am working on a local Wamp server (WIndows) so I use com_create_guid
> > () to generate GUID. My production server is on Linux system so I need
> > to use uuid_create().
> > How to make it to choose automatically which function should be used?
> > I use these functions in few places so I would have to change it
> > manually each time I change something in those files and update prod
> > environment.
>
> Are these two environments dev and prod? If so, then you should be able to
> have two config settings for two environments and config files can contain
> PHP too.
>
> --
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to 
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to