From 28255b81a0789cf9129a3024c0df50b80cfd0cce Mon Sep 17 00:00:00 2001 From: rvelices Date: Mon, 16 Apr 2012 03:11:43 +0000 Subject: "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 --- 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 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; -- cgit v1.2.3