cvs: pearweb /include pear-format-xmlrpc.php
| From: | Daniel Convissor | Date: | Thu, 08 Jul 2004 15:10:46 +0000 |
| Subject: | cvs: pearweb /include pear-format-xmlrpc.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-439@lists.php.net to get a copy of this message | ||
danielc Thu Jul 8 11:10:46 2004 EDT
Modified files:
/pearweb/include pear-format-xmlrpc.php
Log:
* Add exit to end of report_error() to avoid further output.
Was having problems with set_error_handler("xmlrpc_error_handler")
in xmlrpc.php. Bug 1815.
http://cvs.php.net/diff.php/pearweb/include/pear-format-xmlrpc.php?r1=1.8&r2=1.9&ty=u
Index: pearweb/include/pear-format-xmlrpc.php
diff -u pearweb/include/pear-format-xmlrpc.php:1.8 pearweb/include/pear-format-xmlrpc.php:1.9
--- pearweb/include/pear-format-xmlrpc.php:1.8 Mon Jun 9 03:36:03 2003
+++ pearweb/include/pear-format-xmlrpc.php Thu Jul 8 11:10:45 2004
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: pear-format-xmlrpc.php,v 1.8 2003/06/09 07:36:03 mj Exp $
+ $Id: pear-format-xmlrpc.php,v 1.9 2004/07/08 15:10:45 danielc Exp $
*/
if (isset($_SERVER['PHP_AUTH_USER']) && !isset($_COOKIE['PEAR_USER']))
{
@@ -37,6 +37,7 @@
function response_header($title) {}
function response_footer() {}
+
function report_error($error) {
$response = "<?xml version='1.0' encoding='iso-8859-1' ?>
<methodResponse>
@@ -63,7 +64,7 @@
header("Content-length: " . strlen($response));
header("Content-type: text/xml");
print $response;
-
+ exit;
}
// {{{ xu_query_http_post()