' . $msg . '
';
+ add_log('critical', 'LOG_ERROR_' . $type, $message);
}
/**
@@ -388,9 +403,7 @@ class messenger
if (!$result)
{
- $message = 'EMAIL ERROR [ ' . (($config['smtp_delivery']) ? 'SMTP' : 'PHP') . ' ]
' . $err_msg . '
CALLING PAGE
' . ((!empty($_SERVER['PHP_SELF'])) ? $_SERVER['PHP_SELF'] : $_ENV['PHP_SELF']) . '
';
-
- $this->error('EMAIL', $message);
+ $this->error('EMAIL', $err_msg);
return false;
}
}
@@ -613,8 +626,7 @@ class queue
{
@unlink($this->cache_file . '.lock');
- $message = 'Method: [ ' . (($config['smtp_delivery']) ? 'SMTP' : 'PHP') . ' ]
' . $err_msg . '
CALLING PAGE
' . ((!empty($_SERVER['PHP_SELF'])) ? $_SERVER['PHP_SELF'] : $_ENV['PHP_SELF']);
- messenger::error('EMAIL', $message);
+ messenger::error('EMAIL', $err_msg);
continue 2;
}
break;
@@ -624,8 +636,7 @@ class queue
{
if ($this->jabber->send_message($address, 'normal', NULL, array('body' => $msg)) === false)
{
- $message = 'Method: [ JABBER ]
' . $this->jabber->get_log() . '
CALLING PAGE
' . ((!empty($_SERVER['PHP_SELF'])) ? $_SERVER['PHP_SELF'] : $_ENV['PHP_SELF']);
- messenger::error('JABBER', $message);
+ messenger::error('JABBER', $this->jabber_get_log());
continue 3;
}
}
@@ -976,7 +987,7 @@ class smtp_class
{
if ($this->backtrace)
{
- $this->backtrace_log[] = $message;
+ $this->backtrace_log[] = htmlspecialchars($message, ENT_COMPAT, 'UTF-8');
}
}
@@ -1033,7 +1044,7 @@ class smtp_class
if ($this->backtrace)
{
- $message = 'Backtrace
' . implode('
', array_map('htmlspecialchars', $this->backtrace_log)) . '
';
+ $message = 'Backtrace
' . implode('
', $this->backtrace_log) . '
';
$err_msg .= $message;
}
}
diff --git a/phpBB/language/en/ucp.php b/phpBB/language/en/ucp.php
index 4761fcdd48..fceafdaf02 100644
--- a/phpBB/language/en/ucp.php
+++ b/phpBB/language/en/ucp.php
@@ -321,6 +321,7 @@ $lang = array_merge($lang, array(
'PASS_TYPE_ANY_EXPLAIN' => 'Must be between %1$d and %2$d characters.',
'PASS_TYPE_CASE_EXPLAIN' => 'Password must be between %1$d and %2$d chars long and must be mixed case',
'PASS_TYPE_SYMBOL_EXPLAIN' => 'Password must be between %1$d and %2$d chars long and must contain symbols',
+ 'PASSWORD' => 'Password',
'PASSWORD_ACTIVATED' => 'Your new password has been activated',
'PASSWORD_UPDATED' => 'Your password has been sent successfully to your original email address.',
'PERMISSIONS_RESTORED' => 'Successfully restored original permissions.',