Merge branch 'ssltweak'

This commit is contained in:
Brion Vibber 2011-02-09 00:11:28 -08:00
commit 956b3ef4d1

View File

@ -143,17 +143,18 @@ class Plugin
$server = common_config('plugins', 'server');
}
if (is_null($server)) {
if (empty($server)) {
if ($isHTTPS) {
$server = common_config('site', 'sslserver');
} else {
}
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/';
}