]> git.mxchange.org Git - friendica.git/blobdiff - mod/amcd.php
Rewrite Proxy module
[friendica.git] / mod / amcd.php
index 5f9f97e3f13507c12e1d0bf2d40043b3185b652f..c6013b942d92913f26334731e8b0917427e85b00 100644 (file)
@@ -1,8 +1,10 @@
 <?php
 
-function amcd_content(App $a) {
-//header("Content-type: text/json");
-echo <<< EOT
+use Friendica\App;
+
+function amcd_content()
+{
+       echo <<< JSON
 {
   "version":1,
   "sessionstatus":{
@@ -44,6 +46,6 @@ echo <<< EOT
     }
   }
 }
-EOT;
-killme();
-}
\ No newline at end of file
+JSON;
+       killme();
+}