git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e48b094
)
enable null extension
author
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Wed, 15 Feb 2017 11:32:54 +0000
(12:32 +0100)
committer
Thierry Parmentelat
<thierry.parmentelat@inria.fr>
Wed, 15 Feb 2017 11:32:54 +0000
(12:32 +0100)
php/plc_api.php
patch
|
blob
|
history
diff --git
a/php/plc_api.php
b/php/plc_api.php
index
9a08ad2
..
3c878ba
100644
(file)
--- 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. <nil/> 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.