This commit is contained in:
Peter Hormanns 2013-05-09 17:17:52 +02:00
commit a1a8241909

View File

@ -271,6 +271,7 @@ public class DomainProcessorFactory implements EntityProcessorFactory {
private Processor createApacheVHostSetupProcessor(EntityManager em, Domain dom) throws ProcessorException { private Processor createApacheVHostSetupProcessor(EntityManager em, Domain dom) throws ProcessorException {
Map<String, Object> templateVars = new HashMap<String, Object>(); Map<String, Object> templateVars = new HashMap<String, Object>();
templateVars.put("dom", dom);
String domName = dom.getName(); String domName = dom.getName();
int level = domName.split("\\.").length; int level = domName.split("\\.").length;
String linkPrefix = Integer.toString(100 - level); String linkPrefix = Integer.toString(100 - level);