|
From: Paul S. O. <ps...@us...> - 2002-03-22 21:50:11
|
Update of /cvsroot/phpbb/phpBB2
In directory usw-pr-cvs1:/tmp/cvs-serv26750
Modified Files:
posting.php
Log Message:
Change redirection header for not logged in redirect ...
Index: posting.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/posting.php,v
retrieving revision 1.153
retrieving revision 1.154
diff -C2 -r1.153 -r1.154
*** posting.php 21 Mar 2002 01:03:47 -0000 1.153
--- posting.php 22 Mar 2002 21:50:05 -0000 1.154
***************
*** 335,339 ****
}
! header("Location: " . append_sid("login.$phpEx?redirect=posting.$phpEx&" . $redirect, true));
exit;
}
--- 335,340 ----
}
! $header_location = ( @preg_match("/Microsoft|WebSTAR/", getenv("SERVER_SOFTWARE")) ) ? "Refresh: 0; URL=" : "Location: ";
! header($header_location . append_sid("login.$phpEx?redirect=posting.$phpEx&" . $redirect, true));
exit;
}
|