summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2017-05-22 20:58:01 +0200
committerFlorian Pritz <bluewind@xinu.at>2017-05-22 20:58:01 +0200
commit2f712242160be1ec5da8590d71701972323d7b4b (patch)
treed1e7110ebf321ef995a63f719cef9f0652ceb2d2
parent017cd4eec466f33bdbcdc302368375cfe2b7c210 (diff)
Fix markdown rendering not finding Parsedown
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/service/renderer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/service/renderer.php b/application/service/renderer.php
index 5da4cbd0a..c8643d53f 100644
--- a/application/service/renderer.php
+++ b/application/service/renderer.php
@@ -109,7 +109,7 @@ class renderer {
echo '<div class="table-cell">'."\n";
require_once(APPPATH."/third_party/parsedown/Parsedown.php");
- $parsedown = new Parsedown();
+ $parsedown = new \Parsedown();
echo $parsedown->text(file_get_contents($file));
echo '</div></div></div>';