code/libraries/joomlatools/component/koowa/dispatcher/request/request.php
public function getSiteUrl()
    {
        $url = clone $this->getBaseUrl();

        if(JFactory::getApplication()->getName() == 'administrator')
        {
            // Replace the application name only once since it's possible that
            // we can run from http://localhost/administrator/administrator
            $i    = 1;
            $path = str_ireplace('/administrator', '', $url->getPath(), $i);
            $url->setPath($path);
        }

        return $url;
    }
public function getSiteUrl()
    {
        $url = clone $this->getBaseUrl();

        if(JFactory::getApplication()->getName() == 'administrator')
        {
            // Replace the application name only once since it's possible that
            // we can run from http://localhost/administrator/administrator
            $i    = 1;
            $path = str_ireplace('/administrator', '', $url->getPath(), $i);
            $url->setPath($path);
        }

        return $url;
    }
public function getSiteUrl ( ) { $ url = clone $ this -> getBaseUrl ( ) ; if ( JFactory :: getApplication ( ) -> getName ( ) == 'administrator' ) { // Replace the application name only once since it's possible that // we can run from http://localhost/administrator/administrator $ i = 1 ; $ path = str_ireplace ( '/administrator' , '' , $ url -> getPath ( ) , $ i ) ; $ url -> setPath ( $ path ) ; } return $ url ; }
Returns the site URL from which this request is executed.

@return  KHttpUrl  A HttpUrl object
Returns the site URL from which this request is executed .