aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_url.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2010-12-23 05:22:19 +0000
committerrvelices <rv-github@modusoptimus.com>2010-12-23 05:22:19 +0000
commit732eb6bfba05cd1969fb5898e5bc50c978b2ff0b (patch)
treeb22ddf13d45e1515f81c7406f7248d68b62df238 /include/functions_url.inc.php
parent2a49b76ae10cb7bcef5145f3a96151e0d62848a9 (diff)
removed unused files / code / css; shorter code
git-svn-id: http://piwigo.org/svn/trunk@8247 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--include/functions_url.inc.php2
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'];
}