source/Core/Config.php
public function getOutUrl($ssl = null, $admin = null, $nativeImg = false)
    {
        $ssl = is_null($ssl) ? $this->isSsl() : $ssl;
        $admin = is_null($admin) ? $this->isAdmin() : $admin;

        if ($ssl) {
            if ($nativeImg && !$admin) {
                $url = $this->getSslShopUrl();
            } else {
                $url = $this->getConfigParam('sSSLShopURL');
                if (!$url && $admin) {
                    $url = $this->getConfigParam('sAdminSSLURL') . '../';
                }
            }
        } else {
            $url = ($nativeImg && !$admin) ? $this->getShopUrl() : $this->getConfigParam('sShopURL');
        }

        return $url . $this->_sOutDir . '/';
    }
public function getOutUrl($ssl = null, $admin = null, $nativeImg = false)
    {
        $ssl = is_null($ssl) ? $this->isSsl() : $ssl;
        $admin = is_null($admin) ? $this->isAdmin() : $admin;

        if ($ssl) {
            if ($nativeImg && !$admin) {
                $url = $this->getSslShopUrl();
            } else {
                $url = $this->getConfigParam('sSSLShopURL');
                if (!$url && $admin) {
                    $url = $this->getConfigParam('sAdminSSLURL') . '../';
                }
            }
        } else {
            $url = ($nativeImg && !$admin) ? $this->getShopUrl() : $this->getConfigParam('sShopURL');
        }

        return $url . $this->_sOutDir . '/';
    }
public function getOutUrl ( $ ssl = null , $ admin = null , $ nativeImg = false ) { $ ssl = is_null ( $ ssl ) ? $ this -> isSsl ( ) : $ ssl ; $ admin = is_null ( $ admin ) ? $ this -> isAdmin ( ) : $ admin ; if ( $ ssl ) { if ( $ nativeImg && ! $ admin ) { $ url = $ this -> getSslShopUrl ( ) ; } else { $ url = $ this -> getConfigParam ( 'sSSLShopURL' ) ; if ( ! $ url && $ admin ) { $ url = $ this -> getConfigParam ( 'sAdminSSLURL' ) . '../' ; } } } else { $ url = ( $ nativeImg && ! $ admin ) ? $ this -> getShopUrl ( ) : $ this -> getConfigParam ( 'sShopURL' ) ; } return $ url . $ this -> _sOutDir . '/' ; }
Returns url to out dir

@param bool $ssl       Whether to force ssl
@param bool $admin     Whether to force admin
@param bool $nativeImg Whether to force native image dirs

@return string
Returns url to out dir