cvs: php4 /pear/PEAR Remote.php

From: Date: Sun, 31 Mar 2002 01:45:37 +0000
Subject: cvs: php4 /pear/PEAR Remote.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-2921@lists.php.net to get a copy of this message
ssb Sat Mar 30 20:45:37 2002 EDT Modified files: /php4/pear/PEAR Remote.php Log: * oops, config object was copied * call parameters were not passed on to xmlrpc_encode_request() Index: php4/pear/PEAR/Remote.php diff -u php4/pear/PEAR/Remote.php:1.15 php4/pear/PEAR/Remote.php:1.16 --- php4/pear/PEAR/Remote.php:1.15 Thu Mar 28 21:17:55 2002 +++ php4/pear/PEAR/Remote.php Sat Mar 30 20:45:36 2002 @@ -16,7 +16,7 @@ // | Author: Stig Bakken <ssb@fast.no> | // +----------------------------------------------------------------------+ // -// $Id: Remote.php,v 1.15 2002/03/29 02:17:55 ssb Exp $ +// $Id: Remote.php,v 1.16 2002/03/31 01:45:36 ssb Exp $ require_once 'PEAR.php'; require_once 'PEAR/Config.php'; @@ -38,7 +38,7 @@ function PEAR_Remote(&$config) { $this->PEAR(); - $this->config = $config; + $this->config = &$config; } // }}} @@ -50,6 +50,8 @@ if (!extension_loaded("xmlrpc")) { return $this->raiseError("xmlrpc support not loaded"); } + $params = func_get_args(); + array_shift($params); $method = str_replace("_", ".", $method); $request = xmlrpc_encode_request($method, $params); $server_host = $this->config->get("master_server");

« previous php.pear.cvs (#2921) next »