From a0eba92d8968b136f5a736b145f947c5cd972c7f Mon Sep 17 00:00:00 2001 From: tomas Date: Thu, 25 Nov 2004 17:13:32 +0000 Subject: [PATCH] Error reporting enabled with XML header/footer. --- .../modules/storageServer/var/xmlrpc/xrLocStor.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/livesupport/modules/storageServer/var/xmlrpc/xrLocStor.php b/livesupport/modules/storageServer/var/xmlrpc/xrLocStor.php index 45cc71914..55f2f03de 100644 --- a/livesupport/modules/storageServer/var/xmlrpc/xrLocStor.php +++ b/livesupport/modules/storageServer/var/xmlrpc/xrLocStor.php @@ -23,11 +23,11 @@ Author : $Author: tomas $ - Version : $Revision: 1.4 $ + Version : $Revision: 1.5 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/xmlrpc/xrLocStor.php,v $ ------------------------------------------------------------------------------*/ -error_reporting(0); +#error_reporting(0); ini_set("error_prepend_string", " @@ -57,7 +57,7 @@ require_once '../LocStor.php'; function errHndl($errno, $errmsg, $filename, $linenum, $vars){ if($errno == 8 /*E_NOTICE*/) return; $xr =& new xmlrpcresp(0, 805, - "ERROR:xrLoctor: $errno $errmsg ($filename:$linenum)\n"); + "ERROR:xrLoctor: $errno $errmsg ($filename:$linenum)"); header("Content-type: text/xml"); echo $xr->serialize(); exit($errno); @@ -671,4 +671,4 @@ foreach($methods as $method=>$description){ ); } $s=new xmlrpc_server( $defs ); -?> \ No newline at end of file +?>