[TASK] Use file_get_contents instead of getUrl()
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Template / DocumentTemplate.php
index 47f697d..dc763f6 100644 (file)
@@ -1259,7 +1259,7 @@ function jumpToUrl(URL) {
         }
         $htmlTemplate = '';
         if ($filename !== '') {
-            $htmlTemplate = GeneralUtility::getUrl($filename);
+            $htmlTemplate = file_get_contents($filename);
         }
         return $htmlTemplate;
     }