Merge branch 'ssltweak'

This commit is contained in:
Brion Vibber 2011-02-09 00:11:28 -08:00
commit 956b3ef4d1
1 changed files with 4 additions and 3 deletions

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/';
}