]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Tweak to use site/server fallback when no plugins/sslserver or site/sslserver and...
authorBrion Vibber <brion@pobox.com>
Wed, 9 Feb 2011 08:04:01 +0000 (00:04 -0800)
committerBrion Vibber <brion@pobox.com>
Wed, 9 Feb 2011 08:04:01 +0000 (00:04 -0800)
lib/plugin.php

index 1ca5deb5c5e08297448608856c94823b382ddb36..2b34834577f3ba9651742b03612a4eb973e872ec 100644 (file)
@@ -146,7 +146,8 @@ class Plugin
         if (is_null($server)) {
             if ($isHTTPS) {
                 $server = common_config('site', 'sslserver');
-            } else {
+            }
+            if (is_null($server)) {
                 $server = common_config('site', 'server');
             }
         }