aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2012-04-16 03:11:43 +0000
committerrvelices <rv-github@modusoptimus.com>2012-04-16 03:11:43 +0000
commit28255b81a0789cf9129a3024c0df50b80cfd0cce (patch)
treeda64be29eeda9dc937651483aefbb1410203ea06 /include
parentc63d6a36e7a510089dfbb80fb359ac1c9ed4a77c (diff)
"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
Diffstat (limited to 'include')
-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 5f86495e4..34c9bbfbd 100644
--- a/include/functions_url.inc.php
+++ b/include/functions_url.inc.php
@@ -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;