From 4bcdda3854bce77675dd9cf91e716b5b2ea0c07d Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Tue, 4 Dec 2007 05:45:48 +0100 Subject: [PATCH] [svn r13901] Minor change to path in redirect --- main/auth/profile.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/auth/profile.php b/main/auth/profile.php index 081f87ad19..da0644923a 100644 --- a/main/auth/profile.php +++ b/main/auth/profile.php @@ -1,5 +1,5 @@ validate()) $uidReset = true; include (api_get_path(INCLUDE_PATH).'local.inc.php'); $_SESSION['profile_update'] = 'success'; - header("Location: http://{$_SERVER['HTTP_HOST']}".api_get_self()."?{$_SERVER['QUERY_STRING']}"); + header("Location: ".api_get_path(WEB_PATH).api_get_self()."?{$_SERVER['QUERY_STRING']}"); exit; }