i have a heavely odded board and the login.php edit says:
# #-----[ OPEN ]--------------------------------------------- # login.php ##-----[ FIND ]---------------------------------------------# Line 161 $redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) ] . '<br><br>' . sprintf($lang['Click_return_login'], "<a>", '</a>') . '<br><br>' . sprintf($lang['Click_return_index'], '<a>', '</a>'); message_die(GENERAL_MESSAGE, $message); } ##-----[ REPLACE WITH ]---------------------------------------------# } $redirect = ( !empty($HTTP_POST_VARS['redirect']) ) ? str_replace('&', '&', htmlspecialchars($HTTP_POST_VARS['redirect'])) : ''; $redirect = str_replace('?', '&', $redirect); if (strstr(urldecode($redirect), "n") || strstr(urldecode($redirect), "r")) { message_die(GENERAL_ERROR, 'Tried to redirect to potentially insecure url.'); } $template->assign_vars(array( 'META' => "<meta>") ); $message = $lang['Error_login'] . '<br><br>' . sprintf($lang['Click_return_login'], "<a>", '</a>') . '<br><br>' . sprintf($lang['Click_return_index'], '<a>', '</a>'); message_die(GENERAL_MESSAGE, $message);
now can i find that code multiple times...
can someon please expand the code i need to edit so i can found the right place where i need to edit this?
due the many mods the line giving in the setup instruction is wrong