[TASK] Use file_get_contents instead of getUrl()
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Messaging / AbstractStandaloneMessage.php
index d038965..268aa47 100644 (file)
@@ -134,7 +134,7 @@ abstract class AbstractStandaloneMessage extends AbstractMessage
     public function render()
     {
         $markers = array_merge($this->getDefaultMarkers(), $this->markers);
-        $content = GeneralUtility::getUrl($this->htmlTemplate);
+        $content = file_get_contents($this->htmlTemplate);
         $templateService = GeneralUtility::makeInstance(MarkerBasedTemplateService::class);
         $content = $templateService->substituteMarkerArray($content, $markers, '', false, true);
         return $content;