Merged latest tweaks

This commit is contained in:
moodler
2004-08-24 14:26:35 +00:00
parent 2eccb97074
commit 90e736bd2d
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -4,7 +4,8 @@
// It defines default values for any important configuration variables
$defaults = array (
"auth" => "email",
"auth" => 'email',
"auth_pop3mailbox" => 'INBOX',
"autologinguests" => 0,
"allowunenroll" => true,
"cachetext" => 60,
+1 -1
View File
@@ -1532,7 +1532,7 @@ function email_to_user($user, $from, $subject, $messagetext, $messagehtml="", $a
if ($mail->Send()) {
return true;
} else {
echo "ERROR: $mail->ErrorInfo\n";
mtrace("ERROR: $mail->ErrorInfo");
$site = get_site();
add_to_log($site->id, "library", "mailer", $_SERVER["REQUEST_URI"], "ERROR: $mail->ErrorInfo");
return false;