From: Roland Haeder Date: Tue, 26 May 2015 01:36:23 +0000 (+0200) Subject: Re-added code from upstream (opps). X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b6207009873b1bccdd8949d2d60234afbd16a084;p=quix0rs-gnu-social.git Re-added code from upstream (opps). Signed-off-by: Roland Haeder --- diff --git a/plugins/WebFinger/WebFingerPlugin.php b/plugins/WebFinger/WebFingerPlugin.php index 80da17dff6..dff3c86bc1 100644 --- a/plugins/WebFinger/WebFingerPlugin.php +++ b/plugins/WebFinger/WebFingerPlugin.php @@ -31,6 +31,13 @@ if (!defined('GNUSOCIAL')) { exit(1); } class WebFingerPlugin extends Plugin { + public $http_alias = false; + + public function initialize() + { + common_config_set('webfinger', 'http_alias', $this->http_alias); + } + public function onRouterInitialized(URLMapper $m) { $m->connect('.well-known/host-meta', array('action' => 'hostmeta'));