From 70ae1fb8bcca6e47daabf31233499636234d898a Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 15 Feb 2017 12:32:54 +0100 Subject: [PATCH] enable null extension --- php/plc_api.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/php/plc_api.php b/php/plc_api.php index 9a08ad2..3c878ba 100644 --- a/php/plc_api.php +++ b/php/plc_api.php @@ -139,6 +139,9 @@ class PLCAPI $url .= $this->server . ':' . $this->port . '/' . $this->path; curl_setopt($curl, CURLOPT_URL, $url); + // this tentatively allows to tune mainstream xmlrpc php lib + // so as to achieve the same behaviour as with our patched lib + $xmlrpc_null_extension = TRUE; // Marshal the XML-RPC request as a POST variable. is an // extension to the XML-RPC spec that is supported in our custom // version of xmlrpc.so via the 'allow_null' output_encoding key. -- 2.43.0