]> git.mxchange.org Git - friendica.git/blob - mod/acctlink.php
Use network paging
[friendica.git] / mod / acctlink.php
1 <?php
2
3 use Friendica\App;
4 use Friendica\Network\Probe;
5
6 function acctlink_init(App $a) {
7
8         if(x($_GET,'addr')) {
9                 $addr = trim($_GET['addr']);
10                 $res = Probe::uri($addr);
11                 //logger('acctlink: ' . print_r($res,true));
12                 if($res['url']) {
13                         goaway($res['url']);
14                         killme();
15                 }
16         }
17 }