source/Application/Model/File.php
protected function _getBaseDownloadDirPath()
    {
        $sConfigValue = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('sDownloadsDir');

        //Unix full path is set
        if ($sConfigValue && $sConfigValue[0] == DIRECTORY_SEPARATOR) {
            return $sConfigValue;
        }

        //relative path is set
        if ($sConfigValue) {
            $sPath = getShopBasePath() . DIRECTORY_SEPARATOR . $sConfigValue;

            return $sPath;
        }

        //no path is set
        $sPath = getShopBasePath() . "/out/downloads/";

        return $sPath;
    }
protected function _getBaseDownloadDirPath()
    {
        $sConfigValue = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('sDownloadsDir');

        //Unix full path is set
        if ($sConfigValue && $sConfigValue[0] == DIRECTORY_SEPARATOR) {
            return $sConfigValue;
        }

        //relative path is set
        if ($sConfigValue) {
            $sPath = getShopBasePath() . DIRECTORY_SEPARATOR . $sConfigValue;

            return $sPath;
        }

        //no path is set
        $sPath = getShopBasePath() . "/out/downloads/";

        return $sPath;
    }
protected function _getBaseDownloadDirPath ( ) { $ sConfigValue = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'sDownloadsDir' ) ; //Unix full path is set if ( $ sConfigValue && $ sConfigValue [ 0 ] == DIRECTORY_SEPARATOR ) { return $ sConfigValue ; } //relative path is set if ( $ sConfigValue ) { $ sPath = getShopBasePath ( ) . DIRECTORY_SEPARATOR . $ sConfigValue ; return $ sPath ; } //no path is set $ sPath = getShopBasePath ( ) . "/out/downloads/" ; return $ sPath ; }
Return full path of root dir where download files are stored

@return string
Return full path of root dir where download files are stored