| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 21 | protected function main() |
||
| 22 | { |
||
| 23 | $path = $this->getSiteConfiguration()->getPrivacyStatementPath(); |
||
| 24 | $markdown = file_get_contents($path); |
||
| 25 | |||
| 26 | $renderer = new MarkdownRenderingHelper(); |
||
| 27 | $this->assign('content', $renderer->doRender($markdown)); |
||
| 28 | |||
| 29 | $this->setTemplate($this->templatePath()); |
||
| 30 | } |
||
| 31 | } |