[TASK] Use file_get_contents instead of getUrl()
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Form / FormDataProvider / TcaFlexFetch.php
index 64bfe0b..6a5b797 100644 (file)
@@ -131,7 +131,7 @@ class TcaFlexFetch implements FormDataProviderInterface
                 if (!is_array($sheetStructure)) {
                     $file = GeneralUtility::getFileAbsFileName($sheetStructure);
                     if ($file && @is_file($file)) {
-                        $sheetStructure = GeneralUtility::xml2array(GeneralUtility::getUrl($file));
+                        $sheetStructure = GeneralUtility::xml2array(file_get_contents($file));
                     }
                 }
                 $modifiedDataStructure['sheets'][$sheetName] = $sheetStructure;