From: Brion Vibber Date: Wed, 9 Feb 2011 08:04:01 +0000 (-0800) Subject: Tweak to use site/server fallback when no plugins/sslserver or site/sslserver and... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9efedfc2179e4e4d1476be6b9276f7e4889b8a8a;p=quix0rs-gnu-social.git Tweak to use site/server fallback when no plugins/sslserver or site/sslserver and generating plugin CSS --- diff --git a/lib/plugin.php b/lib/plugin.php index 1ca5deb5c5..2b34834577 100644 --- a/lib/plugin.php +++ b/lib/plugin.php @@ -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'); } }