Security Alert always in Spanish
Brought to you by:
pfn
The security alert email is always in Spanish, even if the system is configured in English. This upsets monoglot anglophones.
I think the correct English forms in data/include/usuarios.php would be:
$erros = array\( 1 => 'Attempt to gather user data', 2 => 'User data does not exist', 3 => 'Incorrect user data', 4 => "Invalid attempt to access the admin area", \); $t = 'Security alert from '.$vars->server\('SERVER\_NAME'\); $m = 'Alert about an attempt to access '.$vars->server\('SERVER\_NAME'\) ."\nURL ".$vars->server\('PHP\_SELF'\) ."\nOn ".date\('Y-m-d H:i'\) ."\nWith IP address ".$vars->ip\(\) ."\n\n".$erros\[$erro\]; ob\_start\(\); echo "\n\nContents of GET:\n"; var\_dump\($vars->get\(''\)\); echo "\n\nContents of POST:\n"; var\_dump\($vars->post\(''\)\); echo "\n\nContents of SESSION:\n"; var\_dump\($vars->session\(''\)\);
Hope that helps -- MJR
Logged In: YES
user_id=1302455
Originator: NO
Thanks