]> git.mxchange.org Git - friendica.git/blob - mod/acctlink.php
Merge branch 'develop' into rewrites/dbm_is_result
[friendica.git] / mod / acctlink.php
1 <?php
2
3 require_once('include/Scrape.php');
4
5 function acctlink_init(App &$a) {
6
7         if(x($_GET,'addr')) {
8                 $addr = trim($_GET['addr']);
9                 $res = probe_url($addr);
10                 //logger('acctlink: ' . print_r($res,true));
11                 if($res['url']) {
12                         goaway($res['url']);
13                         killme();
14                 }
15         }
16 }