Include our siteId if appropriate.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1803 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2006-03-27 23:47:29 +00:00
parent b9a9f9635f
commit c69526f67e
@@ -73,7 +73,11 @@ public class InvocationContext extends VelocityContext
public Template getTemplate (String path)
throws Exception
{
return RuntimeSingleton.getTemplate(path);
String siteId = (String)get("__siteid__");
if (siteId != null) {
path = siteId + ":" + path;
}
return RuntimeSingleton.getRuntimeServices().getTemplate(path);
}
/**