]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Re-added code from upstream (opps).
authorRoland Haeder <roland@mxchange.org>
Tue, 26 May 2015 01:36:23 +0000 (03:36 +0200)
committerRoland Haeder <roland@mxchange.org>
Tue, 26 May 2015 01:36:23 +0000 (03:36 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
plugins/WebFinger/WebFingerPlugin.php

index 80da17dff6977c31bf671bc345a83fb6ffb67531..dff3c86bc1d8f27c671aae04ef8e67f1163f3481 100644 (file)
@@ -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'));