|
From: Paul S. O. <ps...@us...> - 2002-05-13 13:18:21
|
Update of /cvsroot/phpbb/phpBB2/admin
In directory usw-pr-cvs1:/tmp/cvs-serv28773/admin
Modified Files:
Tag: phpBB-2_0_0
admin_styles.php pagestart.php
Log Message:
Added exit's after those header location redirects without them
Index: admin_styles.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/admin_styles.php,v
retrieving revision 1.27.2.2
retrieving revision 1.27.2.3
diff -C2 -r1.27.2.2 -r1.27.2.3
*** admin_styles.php 12 May 2002 00:47:40 -0000 1.27.2.2
--- admin_styles.php 13 May 2002 13:18:17 -0000 1.27.2.3
***************
*** 53,57 ****
if( $cancel )
{
! header("Location: " . append_sid("admin_styles.$phpEx"));
}
--- 53,59 ----
if( $cancel )
{
! $header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';
! header($header_location . append_sid("admin_styles.$phpEx"));
! exit;
}
Index: pagestart.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/admin/pagestart.php,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C2 -r1.1.2.1 -r1.1.2.2
*** pagestart.php 12 May 2002 00:47:40 -0000 1.1.2.1
--- pagestart.php 13 May 2002 13:18:17 -0000 1.1.2.2
***************
*** 40,44 ****
if( !$userdata['session_logged_in'] )
{
! header("Location: ../" . append_sid("login.$phpEx?redirect=admin/"));
}
else if( $userdata['user_level'] != ADMIN )
--- 40,46 ----
if( !$userdata['session_logged_in'] )
{
! $header_location = ( @preg_match('/Microsoft|WebSTAR|Xitami/', getenv('SERVER_SOFTWARE')) ) ? 'Refresh: 0; URL=' : 'Location: ';
! header($header_location . '../' . append_sid("login.$phpEx?redirect=admin/"));
! exit;
}
else if( $userdata['user_level'] != ADMIN )
|