X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FWebFinger%2FWebFingerPlugin.php;h=d902947d934da0c59ffc441c387cf6d8e1db06de;hb=b59dacb806c9246668db7a004b931513f4e4076b;hp=fd25482c7a232e1dc1e89179e45c21a29c701768;hpb=5f7032dfee1fd202c14e76a9f8b37af35d584901;p=quix0rs-gnu-social.git diff --git a/plugins/WebFinger/WebFingerPlugin.php b/plugins/WebFinger/WebFingerPlugin.php index fd25482c7a..d902947d93 100644 --- a/plugins/WebFinger/WebFingerPlugin.php +++ b/plugins/WebFinger/WebFingerPlugin.php @@ -36,12 +36,10 @@ class WebFingerPlugin extends Plugin const OAUTH_AUTHORIZE_REL = 'http://apinamespace.org/oauth/authorize'; public $http_alias = false; - public $fancyurlfix = true; // adds + interprets some extra aliases related to 'index.php/' URLs public function initialize() { common_config_set('webfinger', 'http_alias', $this->http_alias); - common_config_set('webfinger', 'fancyurlfix', $this->fancyurlfix); } public function onRouterInitialized($m) @@ -106,7 +104,7 @@ class WebFingerPlugin extends Plugin $user = User::getByUri($resource); $profile = $user->getProfile(); } catch (NoResultException $e) { - if (common_config('webfinger', 'fancyurlfix')) { + if (common_config('fix', 'fancyurls')) { try { try { // if it's a /index.php/ url // common_fake_local_fancy_url can throw an exception