private static function request() {

		if($uri = Request :: getUri()) {

			$url  = '';
			$host = null;

			if(!($scheme = Request :: getScheme())) {
				
				$scheme = 'php';
				$host   = '127.0.0.1';
				Request :: setScheme($scheme);
			}

			$url .= $scheme . '://';

			if($hostname = Request :: getHost()) {
				$url .= $hostname;
			}
			elseif(null !== $host) {
				$url .= $host;
			}

			$url .= $uri;

			static :: $url = new URLParser($url);
		}
	}
private static function request() {

		if($uri = Request :: getUri()) {

			$url  = '';
			$host = null;

			if(!($scheme = Request :: getScheme())) {
				
				$scheme = 'php';
				$host   = '127.0.0.1';
				Request :: setScheme($scheme);
			}

			$url .= $scheme . '://';

			if($hostname = Request :: getHost()) {
				$url .= $hostname;
			}
			elseif(null !== $host) {
				$url .= $host;
			}

			$url .= $uri;

			static :: $url = new URLParser($url);
		}
	}
private static function request ( ) { if ( $ uri = Request :: getUri ( ) ) { $ url = '' ; $ host = null ; if ( ! ( $ scheme = Request :: getScheme ( ) ) ) { $ scheme = 'php' ; $ host = '127.0.0.1' ; Request :: setScheme ( $ scheme ) ; } $ url .= $ scheme . '://' ; if ( $ hostname = Request :: getHost ( ) ) { $ url .= $ hostname ; } elseif ( null !== $ host ) { $ url .= $ host ; } $ url .= $ uri ; static :: $ url = new URLParser ( $ url ) ; } }
Try to add the request uri
Try to add the request uri