public function uri( $full = false ) 
	{
		// check if we already set the current uri
		if ( is_null( $this->uri ) ) 
		{
			$this->uri = $this->server('REQUEST_URI', '/' );
			
			// fix doubled slashes
			$this->uri = preg_replace( '/(\/+)/','/', $this->uri );
			
			// remove get params
			if ( !$full ) 
			{
				$this->uri = CCStr::cut( $this->uri, '?' );
			}
			
			// cut the offset from the config
			$this->uri = substr( $this->uri, strlen( ClanCats::$config->get( 'url.path' ) ) );
			
			// if null or false set to default
			if ( !$this->uri ) 
			{
				$this->uri = '';
			}
		}
		return $this->uri;
	}
public function uri( $full = false ) 
	{
		// check if we already set the current uri
		if ( is_null( $this->uri ) ) 
		{
			$this->uri = $this->server('REQUEST_URI', '/' );
			
			// fix doubled slashes
			$this->uri = preg_replace( '/(\/+)/','/', $this->uri );
			
			// remove get params
			if ( !$full ) 
			{
				$this->uri = CCStr::cut( $this->uri, '?' );
			}
			
			// cut the offset from the config
			$this->uri = substr( $this->uri, strlen( ClanCats::$config->get( 'url.path' ) ) );
			
			// if null or false set to default
			if ( !$this->uri ) 
			{
				$this->uri = '';
			}
		}
		return $this->uri;
	}
public function uri ( $ full = false ) { // check if we already set the current uri if ( is_null ( $ this -> uri ) ) { $ this -> uri = $ this -> server ( 'REQUEST_URI' , '/' ) ; // fix doubled slashes $ this -> uri = preg_replace ( '/(\/+)/' , '/' , $ this -> uri ) ; // remove get params if ( ! $ full ) { $ this -> uri = CCStr :: cut ( $ this -> uri , '?' ) ; } // cut the offset from the config $ this -> uri = substr ( $ this -> uri , strlen ( ClanCats :: $ config -> get ( 'url.path' ) ) ) ; // if null or false set to default if ( ! $ this -> uri ) { $ this -> uri = '' ; } } return $ this -> uri ; }
get the requestet uri

@param bool		$full	Don't cut the get params
@return string
get the requestet uri