aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_url.inc.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-12-21 23:49:12 +0000
committerrvelices <rv-github@modusoptimus.com>2006-12-21 23:49:12 +0000
commitb1a6316ca2f5f79891c6170049bfd06650847e49 (patch)
tree6875a8ac04560174d14ab4ed7a854ca66dbe04bf /include/functions_url.inc.php
parentcab8f98c4ab88a0ad05f2359099c883675319084 (diff)
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
Diffstat (limited to 'include/functions_url.inc.php')
-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
{