From 9ff1c20c78632e0ce4caa108a663eccd3e961803 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Mon, 1 May 2017 14:13:12 +0200 Subject: [PATCH] Fix media path --- Theme/Backend/media-single.tpl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Theme/Backend/media-single.tpl.php b/Theme/Backend/media-single.tpl.php index afb99b2..6676dfc 100644 --- a/Theme/Backend/media-single.tpl.php +++ b/Theme/Backend/media-single.tpl.php @@ -43,7 +43,7 @@ echo $this->getData('nav')->render();
                     getPath()));
+                    $output = htmlspecialchars(file_get_contents(__DIR__ . '/../../../../' . $media->getPath()));
                     $output = str_replace(["\r\n", "\r"], "\n", $output);
                     $output = explode("\n", $output);
                     foreach($output as $line) : ?>