Andrea Tomasini wrote: > Hi all, > ... it > would be enough to have to env_path and than invoke the > open_environment to get the env... :-? > Hi Andrea,
Yes, that's the way. Have a look at e.g. the trac/admin/console.py code, it's the simpler case. There the environment path is obtained from the command line. However there's no such thing as a global environment path: a process may have to deal with any number of environments. Web front-ends get the environment path (or multiple environment paths) from various ways, see e.g. trac/web/standalone.py or trac/web/mod_python.py. -- Christian > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac 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/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
