78 /** |
78 /** |
79 * {@inheritDoc} |
79 * {@inheritDoc} |
80 */ |
80 */ |
81 public Content getDocRootOutput() { |
81 public Content getDocRootOutput() { |
82 String path; |
82 String path; |
83 if (configuration.docrootparent.length() > 0) |
83 if (htmlWriter.pathToRoot.isEmpty()) |
84 path = configuration.docrootparent; |
|
85 else if (htmlWriter.pathToRoot.isEmpty()) |
|
86 path = "."; |
84 path = "."; |
87 else |
85 else |
88 path = htmlWriter.pathToRoot.getPath(); |
86 path = htmlWriter.pathToRoot.getPath(); |
89 return new StringContent(path); |
87 return new StringContent(path); |
90 } |
88 } |