diff --git a/functions/http.xml b/functions/http.xml index be3f523c41..5a8146c864 100644 --- a/functions/http.xml +++ b/functions/http.xml @@ -1,5 +1,5 @@ - + HTTP functions HTTP @@ -71,8 +71,8 @@ exit; /* Make sure that code below does to make an absolute URI from a relative one yourself: -Header ("Location: http://".$HTTP_SERVER_VARS['HTTP_HOST'] - ."/".dirname($HTTP_SERVER_VARS['PHP_SELF'] +header ("Location: http://".$HTTP_SERVER_VARS['HTTP_HOST'] + ."/".dirname($HTTP_SERVER_VARS['PHP_SELF']) ."/".$relative_url);