*/ use Friendica\Core\Hook; use Friendica\DI; function sniper_install() { Hook::register('app_menu', 'addon/sniper/sniper.php', 'sniper_app_menu'); } function sniper_app_menu($a,&$b) { $b['app_menu'][] = '
'; } function sniper_module() {} function sniper_content(&$a) { $baseurl = DI::baseUrl()->get() . '/addon/sniper'; $o .= <<< EOT EOT; return $o; }