From: Thierry Parmentelat Date: Wed, 15 Feb 2017 11:32:54 +0000 (+0100) Subject: enable null extension X-Git-Url: http://git.onelab.eu/?p=plcapi.git;a=commitdiff_plain;h=70ae1fb8bcca6e47daabf31233499636234d898a enable null extension --- 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.