"home url" is not always absolute with host name + html compaction - through removal of unused attributes, some white spaces ...

git-svn-id: http://piwigo.org/svn/trunk@14180 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices 2012-04-16 03:11:43 +00:00
parent c63d6a36e7
commit 28255b81a0
4 changed files with 30 additions and 38 deletions

View file

@ -135,7 +135,7 @@ function make_index_url($params = array())
if ($url == $url_before_params)
{
$url = get_absolute_root_url();
$url = get_absolute_root_url( url_is_remote($url) );
}
return $url;