|
From: Jon O. <jon...@us...> - 2007-04-28 21:23:34
|
Update of /cvsroot/mxbb/core
In directory sc8-pr-cvs16:/tmp/cvs-serv32061
Modified Files:
index.php
Log Message:
Fix for redirecting when not allowed page access
Index: index.php
===================================================================
RCS file: /cvsroot/mxbb/core/index.php,v
retrieving revision 1.64
retrieving revision 1.65
diff -C2 -d -r1.64 -r1.65
*** index.php 16 Dec 2006 16:37:23 -0000 1.64
--- index.php 28 Apr 2007 21:23:28 -0000 1.65
***************
*** 64,68 ****
elseif ( !$mx_page->auth_view && !$userdata['session_logged_in'] )
{
! mx_redirect( append_sid( $mx_root_path . "login.$phpEx?redirect=" . mx_this_url(), true ) );
}
elseif ( !$mx_page->auth_ip )
--- 64,68 ----
elseif ( !$mx_page->auth_view && !$userdata['session_logged_in'] )
{
! mx_redirect( append_sid( "login.$phpEx?redirect=" . 'index.php?page=' . $page_id, true ) );
}
elseif ( !$mx_page->auth_ip )
|