diff options
author | Friendika <info@friendika.com> | 2010-11-18 21:01:54 -0800 |
---|---|---|
committer | Friendika <info@friendika.com> | 2010-11-18 21:01:54 -0800 |
commit | a37301288fcb65f64dd767c42d6cb4640142910d (patch) | |
tree | 817ea5f84b492f37ded07f9e66feccaebf46ca86 /boot.php | |
parent | e0b392b06e9757530386532ac943fb3ce53f7010 (diff) | |
download | volse-hubzilla-a37301288fcb65f64dd767c42d6cb4640142910d.tar.gz volse-hubzilla-a37301288fcb65f64dd767c42d6cb4640142910d.tar.bz2 volse-hubzilla-a37301288fcb65f64dd767c42d6cb4640142910d.zip |
log xml_status error replies
Diffstat (limited to 'boot.php')
-rw-r--r-- | boot.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -630,6 +630,9 @@ function xml_status($st, $message = '') { $xml_message = ((strlen($message)) ? "\t<message>" . xmlify($message) . "</message>\r\n" : ''); + if($st) + logger('xml_status returning non_zero: ' . $st . " message=" . $message); + header( "Content-type: text/xml" ); echo '<?xml version="1.0" encoding="UTF-8"?>'."\r\n"; echo "<result>\r\n\t<status>$st</status>\r\n$xml_message</result>\r\n"; |