[TASK] Remove global option BACK_PATH
[Packages/TYPO3.CMS.git] / typo3 / sysext / backend / Classes / Domain / Repository / Module / BackendModuleRepository.php
index c8cc08a..493ec47 100644 (file)
@@ -377,7 +377,7 @@ class BackendModuleRepository implements \TYPO3\CMS\Core\SingletonInterface
     protected function getModuleIconAbsolute($iconFilename)
     {
         if (!GeneralUtility::isAbsPath($iconFilename)) {
-            $iconFilename = $GLOBALS['BACK_PATH'] . $iconFilename;
+            $iconFilename = PATH_typo3 . $iconFilename;
         }
         return $iconFilename;
     }