projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a106f6
)
A bit better test.
author
Roland Haeder
<roland@mxchange.org>
Sat, 12 Sep 2015 06:31:50 +0000
(08:31 +0200)
committer
Roland Haeder
<roland@mxchange.org>
Sat, 12 Sep 2015 06:31:50 +0000
(08:31 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
lib/util.php
patch
|
blob
|
history
diff --git
a/lib/util.php
b/lib/util.php
index e203dff3ba1a073b65a9dba53681efcbac905f13..2a276bde50e9936ba8bb50609d6e078348a955c5 100644
(file)
--- 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()