]> git.mxchange.org Git - friendica.git/blobdiff - mod/amcd.php
Rewrite Proxy module
[friendica.git] / mod / amcd.php
index 141a80429887094774fab8bd894095b6a4559a6d..c6013b942d92913f26334731e8b0917427e85b00 100644 (file)
@@ -1,8 +1,10 @@
 <?php
-if(! function_exists('amcd_content')) {
-function amcd_content(&$a) {
-//header("Content-type: text/json");
-echo <<< EOT
+
+use Friendica\App;
+
+function amcd_content()
+{
+       echo <<< JSON
 {
   "version":1,
   "sessionstatus":{
@@ -44,7 +46,6 @@ echo <<< EOT
     }
   }
 }
-EOT;
-killme();
-}
+JSON;
+       killme();
 }