From a543819d0b7e080fb19a598a8717d6c6010c12ba Mon Sep 17 00:00:00 2001 From: Evgeny Date: Tue, 5 Dec 2017 15:16:10 +0200 Subject: [PATCH] Update xmlrpc.inc --- src/xmlrpc-3.0/lib/xmlrpc.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/xmlrpc-3.0/lib/xmlrpc.inc b/src/xmlrpc-3.0/lib/xmlrpc.inc index fff4a57..0aebee6 100755 --- a/src/xmlrpc-3.0/lib/xmlrpc.inc +++ b/src/xmlrpc-3.0/lib/xmlrpc.inc @@ -35,9 +35,9 @@ // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED // OF THE POSSIBILITY OF SUCH DAMAGE. -$GLOBALS['xmlrpcName'] = 'Infusionsoft PHP iSDK 1.29.x ' -. (array_key_exists('SERVER_NAME', $_SERVER) ? $_SERVER['SERVER_NAME'] : htmlentities(php_uname('n'))) -. $_SERVER['PHP_SELF']; +$GLOBALS['xmlrpcName'] = 'Infusionsoft PHP iSDK 1.29.x ' +. (array_key_exists('SERVER_NAME', $_SERVER) ? $_SERVER['SERVER_NAME'] : htmlentities(php_uname('n'))) +. $_SERVER['PHP_SELF']; $GLOBALS['xmlrpcVersion'] = '3.0.0.beta'; if (!function_exists('xml_parser_create')) { @@ -805,7 +805,7 @@ class xmlrpc_client * @param integer $port the port the server is listening on, defaults to 80 or 443 depending on protocol used * @param string $method the http protocol variant: defaults to 'http', 'https' and 'http11' can be used if CURL is installed */ - function xmlrpc_client($path, $server = '', $port = '', $method = '') + function __construct($path, $server = '', $port = '', $method = '') { // allow user to specify all params in $path if ($server == '' and $port == '' and $method == '') { @@ -3325,4 +3325,4 @@ function is_valid_charset($encoding, $validlist) } } -?> +?>