diff options
Diffstat (limited to 'include/functions_url.inc.php')
-rw-r--r-- | include/functions_url.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions_url.inc.php b/include/functions_url.inc.php index d7d6dfcf3..db5fe3cb4 100644 --- a/include/functions_url.inc.php +++ b/include/functions_url.inc.php @@ -735,7 +735,7 @@ function get_gallery_home_url() global $conf; if (!empty($conf['gallery_url'])) { - if (url_is_remote($conf['gallery_url']) or strncmp($conf['gallery_url'], '/', 1)==0) + if (url_is_remote($conf['gallery_url']) or $conf['gallery_url'][0]=='/' ) { return $conf['gallery_url']; } |