public function rootUrl($include_host = false)
    {
        if ($include_host) {
            return $this->root;
        }

        return str_replace($this->base, '', $this->root);
    }
public function rootUrl($include_host = false)
    {
        if ($include_host) {
            return $this->root;
        }

        return str_replace($this->base, '', $this->root);
    }
public function rootUrl ( $ include_host = false ) { if ( $ include_host ) { return $ this -> root ; } return str_replace ( $ this -> base , '' , $ this -> root ) ; }
Return root URL to the site.

@param bool $include_host Include hostname.

@return mixed
Return root URL to the site .