diff --git a/Classes/Utility/GeneralUtility.php b/Classes/Utility/GeneralUtility.php index 62976195..3a3ba1c4 100644 --- a/Classes/Utility/GeneralUtility.php +++ b/Classes/Utility/GeneralUtility.php @@ -685,7 +685,7 @@ public static function resolveRelPathFromSiteRoot($path) } $path = explode('/', $path); if (strpos($path[0], 'EXT') === 0) { - return \TYPO3\CMS\Core\Utility\GeneralUtility::getFileAbsFileName(implode('/', $path)); + return PathUtility::getPublicResourceWebPath(implode('/', $path), false); } $path = implode('/', $path); $path = str_replace('//', '/', $path);