public static function setRequestVariables($uri_variables, $api_mode = false) {
		if(self::$uri === array() && isset($_GET['dachi_uri']))
			self::$uri = explode("/", trim($_GET['dachi_uri'], " \t\n\r\0\x0B/"));

		foreach($uri_variables as $var)
			self::$uri_variables[$var[1]] = self::$uri[$var[0]];

		self::$api_mode = $api_mode;
	}