We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 956b3ef4 authored by Brion Vibber's avatar Brion Vibber

Merge branch 'ssltweak'

parents c2738762 dc5daa23
......@@ -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/';
}
......
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