diff options
author | Mario <mario@mariovavti.com> | 2021-05-27 09:45:39 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-05-27 09:45:39 +0000 |
commit | 7776283a479e24955f45eb9993d93d4dde87956a (patch) | |
tree | 6e7638301d13f74038a5c769f5a06867f37832c3 /Zotlabs/Module/Wfinger.php | |
parent | c9d4802bf14cd135a75f89e4aa06976dfd628af5 (diff) | |
download | volse-hubzilla-7776283a479e24955f45eb9993d93d4dde87956a.tar.gz volse-hubzilla-7776283a479e24955f45eb9993d93d4dde87956a.tar.bz2 volse-hubzilla-7776283a479e24955f45eb9993d93d4dde87956a.zip |
remove zot includes
Diffstat (limited to 'Zotlabs/Module/Wfinger.php')
-rw-r--r-- | Zotlabs/Module/Wfinger.php | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/Zotlabs/Module/Wfinger.php b/Zotlabs/Module/Wfinger.php index 46da7f007..6dedc1ef1 100644 --- a/Zotlabs/Module/Wfinger.php +++ b/Zotlabs/Module/Wfinger.php @@ -1,8 +1,6 @@ <?php namespace Zotlabs\Module; -require_once('include/zot.php'); - use Zotlabs\Lib\Keyutils; use Zotlabs\Lib\Libzot; @@ -21,7 +19,7 @@ class Wfinger extends \Zotlabs\Web\Controller { elseif(x($_SERVER,'SERVER_PORT') && (intval($_SERVER['SERVER_PORT']) == 443)) $scheme = 'https'; elseif(x($_SERVER,'HTTP_X_FORWARDED_PROTO') && ($_SERVER['HTTP_X_FORWARDED_PROTO'] == 'https')) - $scheme = 'https'; + $scheme = 'https'; $zot = intval($_REQUEST['zot']); @@ -69,7 +67,7 @@ class Wfinger extends \Zotlabs\Web\Controller { $channel = substr($channel,1); $channel = substr($channel,0,-1); $pchan = true; - $r = q("select * from pchan left join xchan on pchan_hash = xchan_hash + $r = q("select * from pchan left join xchan on pchan_hash = xchan_hash where pchan_guid = '%s' limit 1", dbesc($channel) ); @@ -78,7 +76,7 @@ class Wfinger extends \Zotlabs\Web\Controller { } } else { - $r = q("select * from channel left join xchan on channel_hash = xchan_hash + $r = q("select * from channel left join xchan on channel_hash = xchan_hash where channel_address = '%s' limit 1", dbesc($channel) ); |