CVS: phpweather/config reset_session.php,1.1,1.2
Brought to you by:
iridium
From: Martin G. <gim...@us...> - 2002-04-07 19:08:07
|
Update of /cvsroot/phpweather/phpweather/config In directory usw-pr-cvs1:/tmp/cvs-serv14433 Modified Files: reset_session.php Log Message: Hmm, $_SERVER didn't work either. Index: reset_session.php =================================================================== RCS file: /cvsroot/phpweather/phpweather/config/reset_session.php,v retrieving revision 1.1 retrieving revision 1.2 diff -u -3 -r1.1 -r1.2 --- reset_session.php 7 Apr 2002 18:38:20 -0000 1.1 +++ reset_session.php 7 Apr 2002 18:59:53 -0000 1.2 @@ -6,7 +6,7 @@ session_start(); session_unset(); session_destroy(); -header('Location: http://' . $_SERVER['HTTP_HOST'] . +header('Location: http://' . $HTTP_HOST . dirname($PHP_SELF) . '/index.php'); exit(); ?> |