59 if ($this->default_port == $uri->port) $uri->port = null;
62 if (!$this->may_omit_host &&
64 (!is_null($uri->scheme) && ($uri->host ===
'' || is_null($uri->host))) ||
68 (is_null($uri->scheme) && $uri->host ===
'')
71 if (is_null($uri->scheme)) {
72 if (substr($uri->path, 0, 2) !=
'//') {
81 $host =
$config->get(
'URI.Host');
82 if (!is_null($host)) {