aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-11-18 21:01:54 -0800
committerFriendika <info@friendika.com>2010-11-18 21:01:54 -0800
commita37301288fcb65f64dd767c42d6cb4640142910d (patch)
tree817ea5f84b492f37ded07f9e66feccaebf46ca86 /boot.php
parente0b392b06e9757530386532ac943fb3ce53f7010 (diff)
downloadvolse-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.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index f0d40544f..4cab1e5ae 100644
--- a/boot.php
+++ b/boot.php
@@ -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";