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) : ?>= $line; ?>