public static function getAbsRefPrefixFromTSFE(TypoScriptFrontendController $TSFE)
    {
        $absRefPrefix = '';
        if (empty($TSFE->config['config']['absRefPrefix'])) {
            return $absRefPrefix;
        }

        $absRefPrefix = trim($TSFE->config['config']['absRefPrefix']);
        if ($absRefPrefix === 'auto') {
            $absRefPrefix = GeneralUtility::getIndpEnv('TYPO3_SITE_PATH');
        }

        return $absRefPrefix;
    }
public static function getAbsRefPrefixFromTSFE(TypoScriptFrontendController $TSFE)
    {
        $absRefPrefix = '';
        if (empty($TSFE->config['config']['absRefPrefix'])) {
            return $absRefPrefix;
        }

        $absRefPrefix = trim($TSFE->config['config']['absRefPrefix']);
        if ($absRefPrefix === 'auto') {
            $absRefPrefix = GeneralUtility::getIndpEnv('TYPO3_SITE_PATH');
        }

        return $absRefPrefix;
    }
public static function getAbsRefPrefixFromTSFE ( TypoScriptFrontendController $ TSFE ) { $ absRefPrefix = '' ; if ( empty ( $ TSFE -> config [ 'config' ] [ 'absRefPrefix' ] ) ) { return $ absRefPrefix ; } $ absRefPrefix = trim ( $ TSFE -> config [ 'config' ] [ 'absRefPrefix' ] ) ; if ( $ absRefPrefix === 'auto' ) { $ absRefPrefix = GeneralUtility :: getIndpEnv ( 'TYPO3_SITE_PATH' ) ; } return $ absRefPrefix ; }
Resolves the configured absRefPrefix to a valid value and resolved if absRefPrefix
is set to "auto".

@param TypoScriptFrontendController $TSFE
@return string
Resolves the configured absRefPrefix to a valid value and resolved if absRefPrefix is set to auto .