Tweak to use site/server fallback when no plugins/sslserver or site/sslserver and generating plugin CSS
This commit is contained in:
parent
75bf756111
commit
9efedfc217
|
@ -146,7 +146,8 @@ class Plugin
|
||||||
if (is_null($server)) {
|
if (is_null($server)) {
|
||||||
if ($isHTTPS) {
|
if ($isHTTPS) {
|
||||||
$server = common_config('site', 'sslserver');
|
$server = common_config('site', 'sslserver');
|
||||||
} else {
|
}
|
||||||
|
if (is_null($server)) {
|
||||||
$server = common_config('site', 'server');
|
$server = common_config('site', 'server');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user