[TASK] Use file_get_contents instead of getUrl()
[Packages/TYPO3.CMS.git] / typo3 / sysext / linkvalidator / Classes / Task / ValidatorTask.php
index d0917e2..9fd3608 100644 (file)
@@ -271,7 +271,7 @@ class ValidatorTask extends \TYPO3\CMS\Scheduler\Task\AbstractTask
                 );
             }
         }
-        $htmlFile = GeneralUtility::getURL($file);
+        $htmlFile = file_get_contents($file);
         $this->templateMail = $this->templateService->getSubpart($htmlFile, '###REPORT_TEMPLATE###');
         // The array to put the content into
         $pageSections = '';