aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_url.inc.php
diff options
context:
space:
mode:
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 e50f3e2e8..53792083d 100644
--- a/include/functions_url.inc.php
+++ b/include/functions_url.inc.php
@@ -419,7 +419,7 @@ function set_make_full_url()
$page['save_root_path']['path'] = $page['root_path'];
}
$page['save_root_path']['count'] = 1;
- $page['root_path'] = 'http://'.$_SERVER['HTTP_HOST'].cookie_path();
+ $page['root_path'] = get_host_url().cookie_path();
}
else
{