From b1a6316ca2f5f79891c6170049bfd06650847e49 Mon Sep 17 00:00:00 2001 From: rvelices Date: Thu, 21 Dec 2006 23:49:12 +0000 Subject: Very small corrections: - syntax error (action.php) - language (call to l10n_dec and English language) - replace some fetch_array with fetch_assoc (less memory used) - removed one unnecessary assign_block_vars - removed meta name="robots" (conflict with notification.php) git-svn-id: http://piwigo.org/svn/trunk@1678 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 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 { -- cgit v1.2.3