From 732eb6bfba05cd1969fb5898e5bc50c978b2ff0b Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 23 Dec 2010 05:22:19 +0000 Subject: removed unused files / code / css; shorter code git-svn-id: http://piwigo.org/svn/trunk@8247 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_url.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/functions_url.inc.php') 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']; } -- cgit v1.2.3