Classes/Base.php
public static function getExtConfig( $name, $default = null )
	{
		if( self::$extConfig === null )
		{
			if( class_exists( '\TYPO3\CMS\Core\Configuration\ExtensionConfiguration' ) ) {
				self::$extConfig = GeneralUtility::makeInstance( 'TYPO3\CMS\Core\Configuration\ExtensionConfiguration' )->get( 'aimeos' );
			} else { // @deprecated Since TYPO3 9.x
				self::$extConfig = unserialize( $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['aimeos'] );
			}
		}

		if( isset( self::$extConfig[$name] ) ) {
			return self::$extConfig[$name];
		}

		return $default;
	}
public static function getExtConfig( $name, $default = null )
	{
		if( self::$extConfig === null )
		{
			if( class_exists( '\TYPO3\CMS\Core\Configuration\ExtensionConfiguration' ) ) {
				self::$extConfig = GeneralUtility::makeInstance( 'TYPO3\CMS\Core\Configuration\ExtensionConfiguration' )->get( 'aimeos' );
			} else { // @deprecated Since TYPO3 9.x
				self::$extConfig = unserialize( $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['aimeos'] );
			}
		}

		if( isset( self::$extConfig[$name] ) ) {
			return self::$extConfig[$name];
		}

		return $default;
	}
public static function getExtConfig ( $ name , $ default = null ) { if ( self :: $ extConfig === null ) { if ( class_exists ( '\TYPO3\CMS\Core\Configuration\ExtensionConfiguration' ) ) { self :: $ extConfig = GeneralUtility :: makeInstance ( 'TYPO3\CMS\Core\Configuration\ExtensionConfiguration' ) -> get ( 'aimeos' ) ; } else { // @deprecated Since TYPO3 9.x self :: $ extConfig = unserialize ( $ GLOBALS [ 'TYPO3_CONF_VARS' ] [ 'EXT' ] [ 'extConf' ] [ 'aimeos' ] ) ; } } if ( isset ( self :: $ extConfig [ $ name ] ) ) { return self :: $ extConfig [ $ name ] ; } return $ default ; }
Returns the extension configuration

@param string Name of the configuration setting
@param mixed Value returned if no value in extension configuration was found
@return mixed Value associated with the configuration setting
Returns the extension configuration