diff options
author | Michael Vogel <icarus@dabo.de> | 2012-06-04 08:09:15 +0200 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-06-04 08:09:15 +0200 |
commit | 0353410cd4b8153fd2b6e9d3524c6e46ad4acd68 (patch) | |
tree | e93cc7977a7367eb6281c733d9a34730dae3bf95 /mod/acctlink.php | |
parent | 5de91c2a7c924ac6067828a0e5bfbef5572c1f39 (diff) | |
parent | ca105f1c669950768a1f4cd6b93f471cabbc5114 (diff) | |
download | volse-hubzilla-0353410cd4b8153fd2b6e9d3524c6e46ad4acd68.tar.gz volse-hubzilla-0353410cd4b8153fd2b6e9d3524c6e46ad4acd68.tar.bz2 volse-hubzilla-0353410cd4b8153fd2b6e9d3524c6e46ad4acd68.zip |
Merge remote branch 'upstream/master'
Diffstat (limited to 'mod/acctlink.php')
-rw-r--r-- | mod/acctlink.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mod/acctlink.php b/mod/acctlink.php new file mode 100644 index 000000000..a2365803a --- /dev/null +++ b/mod/acctlink.php @@ -0,0 +1,16 @@ +<?php + +require_once('include/Scrape.php'); + +function acctlink_init(&$a) { + + if(x($_GET,'addr')) { + $addr = trim($_GET['addr']); + $res = probe_url($addr); + //logger('acctlink: ' . print_r($res,true)); + if($res['url']) { + goaway($res['url']); + killme(); + } + } +} |