|
From: FlorinCB <ory...@us...> - 2008-12-18 03:38:01
|
Update of /cvsroot/mxbb/mx_contact/includes In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv4971 Modified Files: functions_contact.php Log Message: fix Index: functions_contact.php =================================================================== RCS file: /cvsroot/mxbb/mx_contact/includes/functions_contact.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** functions_contact.php 18 Dec 2008 03:23:06 -0000 1.2 --- functions_contact.php 18 Dec 2008 03:37:53 -0000 1.3 *************** *** 25,36 **** } ! if(!$mx_userdata['session_logged_in']) { ! $remove = $HTTP_GET_VARS['delete']; ! redirect($module_root_path . "login.$phpEx?redirect=index.$phpEx&delete=$remove", true); } ! elseif($mx_userdata['user_level'] != ADMIN) { ! mx_message_die(GENERAL_ERROR, $lang['Not_Authorised']); // lang_main.php } else --- 25,36 ---- } ! if ( !$userdata['session_logged_in'] ) { ! mx_redirect(mx_append_sid("login.php?redirect=admin/index.$phpEx", true)); } ! ! if ( !($userdata['user_level'] == ADMIN) ) { ! mx_message_die(GENERAL_MESSAGE, $lang['Not_admin']); } else |