From: Tobias Diekershoff Date: Mon, 24 Jun 2013 10:41:08 +0000 (+0200) Subject: the impressum module now activates /impressum X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c9864aa8c0f80818e7a443358aba44664cfe63f4;p=friendica-addons.git the impressum module now activates /impressum --- diff --git a/impressum/impressum.php b/impressum/impressum.php index 8bcc8b7d..2a84fbad 100755 --- a/impressum/impressum.php +++ b/impressum/impressum.php @@ -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);