diff options
author | Dries Buytaert <dries@buytaert.net> | 2003-05-13 18:36:38 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2003-05-13 18:36:38 +0000 |
commit | c2d2fb73095a32394dd95e72421aec49fa2cd6f6 (patch) | |
tree | 5d2d92a31480405b8c10c3b85927049238528242 /includes/xmlrpcs.inc | |
parent | 13ffd8956826fec3cd9978edf73ef67d9eb8d46e (diff) | |
download | brdo-c2d2fb73095a32394dd95e72421aec49fa2cd6f6.tar.gz brdo-c2d2fb73095a32394dd95e72421aec49fa2cd6f6.tar.bz2 |
- Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski.
- Fixed a typo in the MSSQL database scheme. Patch by Michael Frankowski.
- Removed dependency on "register_globals = on"! Patches by Michael Frankowski.
Notes:
+ Updated the patches to use $foo["bar"] instead of $foo['bar'].
+ Updated the INSTALL and CHANGELOG files as well.
- Tiny improvement to the "./scripts/code-clean.sh" script.
Diffstat (limited to 'includes/xmlrpcs.inc')
-rw-r--r-- | includes/xmlrpcs.inc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/includes/xmlrpcs.inc b/includes/xmlrpcs.inc index 61ce1913c..7e61d8771 100644 --- a/includes/xmlrpcs.inc +++ b/includes/xmlrpcs.inc @@ -148,7 +148,6 @@ class xmlrpc_server { var $dmap=array(); function xmlrpc_server($dispMap, $serviceNow=1) { - global $HTTP_RAW_POST_DATA; // dispMap is a despatch array of methods // mapped to function names and signatures // if a method @@ -208,14 +207,14 @@ class xmlrpc_server { } function parseRequest($data="") { - global $_xh,$HTTP_RAW_POST_DATA; + global $_xh; global $xmlrpcerr, $xmlrpcstr, $xmlrpcerrxml, $xmlrpc_defencoding, $_xmlrpcs_dmap; if ($data=="") { - $data=$HTTP_RAW_POST_DATA; + $data=$_SERVER["HTTP_RAW_POST_DATA"]; } $parser = xml_parser_create($xmlrpc_defencoding); @@ -291,13 +290,12 @@ class xmlrpc_server { } function echoInput() { - global $HTTP_RAW_POST_DATA; // a debugging routine: just echos back the input // packet as a string value $r=new xmlrpcresp; - $r->xv=new xmlrpcval( "'Aha said I: '" . $HTTP_RAW_POST_DATA, "string"); + $r->xv=new xmlrpcval( "'Aha said I: '" . $_SERVER["HTTP_RAW_POST_DATA"], "string"); print $r->serialize(); } } |