mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
removed unused files / code / css; shorter code
git-svn-id: http://piwigo.org/svn/trunk@8247 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user