Hi,

I need to access the project URL name/prefix inside a TracMacro.
I'm talking about the trac project directory name NOT the project_name
in trac.ini,
e.g. For 'http://trac.example.com/project1/wiki/WikiStart' it would be
the 'project1'.

For the case that the trac server is running in single-project mode I
like to get (or produce) an empty string.

Is this information somewhere in the Environment (self.env.XXX)? I
searched but couldn't find anything.

Thanks,
Martin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Development" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to