From: Roland Haeder Date: Sat, 12 Sep 2015 06:31:50 +0000 (+0200) Subject: A bit better test. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4848d0adad800c7db30266bc97796910a3151f1e;p=quix0rs-gnu-social.git A bit better test. Signed-off-by: Roland Haeder --- diff --git a/lib/util.php b/lib/util.php index e203dff3ba..2a276bde50 100644 --- a/lib/util.php +++ b/lib/util.php @@ -1303,7 +1303,7 @@ function common_is_sensitive($action) function common_path($relative, $ssl=false, $addSession=true) { - $pathpart = (common_config('site', 'path')) ? common_config('site', 'path')."/" : ''; + $pathpart = (!empty(common_config('site', 'path'))) ? common_config('site', 'path') . '/' : ''; if (($ssl && (common_config('site', 'ssl') === 'sometimes')) || GNUsocial::isHTTPS()