Commit dc5daa23 authored by Brion Vibber's avatar Brion Vibber

Further tweak for ssl paths in plugin check (sslserver may be set but empty)

parent 9efedfc2
......@@ -143,18 +143,18 @@ class Plugin
$server = common_config('plugins', 'server');
}
if (is_null($server)) {
if (empty($server)) {
if ($isHTTPS) {
$server = common_config('site', 'sslserver');
}
if (is_null($server)) {
if (empty($server)) {
$server = common_config('site', 'server');
}
}
$path = common_config('plugins', 'path');
if (is_null($path)) {
if (empty($path)) {
$path = common_config('site', 'path') . '/plugins/';
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment