]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
remote comments working now
[friendica.git] / boot.php
index c94548c3f3bcdf16a815e54990d9844ec86c3588..02c37a93f126b91da56851b954059514467adf23 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -22,6 +22,7 @@ class App {
        public  $profile;
        public  $user;
        public  $cid;
+       public  $contact;
        public  $content;
        public  $error = false;
        public  $cmd;
@@ -369,6 +370,11 @@ function xmlify($str) {
        return($buffer);
 }}
 
+function unxmlify($s) {
+       $ret = str_replace('&','&', $s);
+       $ret = str_replace(array('&lt;','&gt;','&quot;','&apos;'),array('<','>','"',"'"),$ret);
+       return $ret;    
+}
 
 function hex2bin($s) {
        return(pack("H*",$s));