public static function getUploadFolder(ContainerInterface $container)
    {
        $request = $container->get('request');

        $baseUrl = dirname($request->getBaseUrl());
        $baseUrl = substr($baseUrl, 1);
        if ( ! empty($baseUrl)) {
            $baseUrl .= '/';
        }

        return $baseUrl . $container->getParameter('red_kite_cms.upload_assets_dir');
    }
public static function getUploadFolder(ContainerInterface $container)
    {
        $request = $container->get('request');

        $baseUrl = dirname($request->getBaseUrl());
        $baseUrl = substr($baseUrl, 1);
        if ( ! empty($baseUrl)) {
            $baseUrl .= '/';
        }

        return $baseUrl . $container->getParameter('red_kite_cms.upload_assets_dir');
    }
public static function getUploadFolder ( ContainerInterface $ container ) { $ request = $ container -> get ( 'request' ) ; $ baseUrl = dirname ( $ request -> getBaseUrl ( ) ) ; $ baseUrl = substr ( $ baseUrl , 1 ) ; if ( ! empty ( $ baseUrl ) ) { $ baseUrl .= '/' ; } return $ baseUrl . $ container -> getParameter ( 'red_kite_cms.upload_assets_dir' ) ; }
Returns the upload folder path

@param  ContainerInterface $container
@return string
Returns the upload folder path