aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-17 19:26:00 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-17 19:26:00 -0700
commitaff4f63ff8e005bb3ce1d726405fd6d5d2dcfa60 (patch)
tree37637e69e138ed247d2cbf194481324b39317d2c /boot.php
parent2a17c20fb8e910aeb814ab999cf9131478dd2b03 (diff)
downloadvolse-hubzilla-aff4f63ff8e005bb3ce1d726405fd6d5d2dcfa60.tar.gz
volse-hubzilla-aff4f63ff8e005bb3ce1d726405fd6d5d2dcfa60.tar.bz2
volse-hubzilla-aff4f63ff8e005bb3ce1d726405fd6d5d2dcfa60.zip
remote comments working now
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 754be4812..02c37a93f 100644
--- a/boot.php
+++ b/boot.php
@@ -370,6 +370,11 @@ function xmlify($str) {
return($buffer);
}}
+function unxmlify($s) {
+ $ret = str_replace('&amp;','&', $s);
+ $ret = str_replace(array('&lt;','&gt;','&quot;','&apos;'),array('<','>','"',"'"),$ret);
+ return $ret;
+}
function hex2bin($s) {
return(pack("H*",$s));