private function uriTrim() {
		$uri = isset($_SERVER['REQUEST_URI']) ? $_SERVER['REQUEST_URI'] : '';
		$uri = trim($uri, '/\^$');
		if(strpos($uri,'?')) $uri = substr($uri,0,strpos($uri,'?'));
		return $uri;
	}