Файл: EasyHost v2.0/system/htdocs/manager/account/email.pl
Строк: 10
<?php
$system->error('The email address field is required') if (!$system->param('email'));
$system->error('The email address field contains invalid characters') if ($system->param('email') !~ /^.+@[w-.]{4,}$/);
$system->db->do('UPDATE users SET email = ? WHERE id = ?',undef,$system->param('email'),$login->user->id);
$login->user->notice('email_modify','changed their email address (from '.$login->user->email.' to '.$system->param('email').')');
$system->redirect('password');
?>