https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Move App to src
[friendica.git/.git]
/
mod
/
acctlink.php
1
<?php
2
3
use Friendica\App;
4
5
require_once('include/Scrape.php');
6
7
function acctlink_init(App $a) {
8
9
if(x($_GET,'addr')) {
10
$addr = trim($_GET['addr']);
11
$res = probe_url($addr);
12
//logger('acctlink: ' . print_r($res,true));
13
if($res['url']) {
14
goaway($res['url']);
15
killme();
16
}
17
}
18
}