]> git.mxchange.org Git - friendica-addons.git/commitdiff
the impressum module now activates /impressum
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 24 Jun 2013 10:41:08 +0000 (12:41 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Mon, 24 Jun 2013 10:41:08 +0000 (12:41 +0200)
impressum/impressum.php

index 8bcc8b7dd1027e52dc937dac2afe0aa137cefe45..2a84fbadf47007799b8843af5903e78f4c890327 100755 (executable)
@@ -20,6 +20,14 @@ function impressum_uninstall() {
     unregister_hook('page_end', 'addon/impressum/impressum.php', 'impressum_footer');
     logger("uninstalled impressum plugin");
 }
+
+function impressum_module() {
+}
+function impressum_content() {
+    $a = get_app();
+    goaway($a->get_baseurl().'/friendica/');
+}
+
 function obfuscate_email ($s) {
     $s = str_replace('@','(at)',$s);
     $s = str_replace('.','(dot)',$s);