From b6207009873b1bccdd8949d2d60234afbd16a084 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Tue, 26 May 2015 03:36:23 +0200 Subject: [PATCH] Re-added code from upstream (opps). Signed-off-by: Roland Haeder --- plugins/WebFinger/WebFingerPlugin.php | 7 +++++++ 1 file changed, 7 insertions(+) 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')); -- 2.39.5