*/
function user_login ($username, $password) {
if (! function_exists('imap_open')) {
- error("Cannot use NNTP authentication. The PHP IMAP module is not installed.");
+ print_error('auth_nntpnotinstalled','auth');
+ exit;
}
global $CFG;
*/
function user_login($username, $password) {
if (! function_exists('imap_open')) {
- error("Cannot use POP3 authentication. The PHP IMAP module is not installed.");
+ print_error('auth_pop3notinstalled','auth');
+ exit;
}
global $CFG;