mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 17:27:16 +02:00
Disable DEBUG by default, enable backtrace by default
git-svn-id: file:///svn/phpbb/trunk@7631 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -956,11 +956,9 @@ class smtp_class
|
||||
|
||||
function smtp_class()
|
||||
{
|
||||
if (defined('DEBUG'))
|
||||
{
|
||||
$this->backtrace = true;
|
||||
$this->backtrace_log = array();
|
||||
}
|
||||
// Always create a backtrace for admins to identify SMTP problems
|
||||
$this->backtrace = true;
|
||||
$this->backtrace_log = array();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -970,7 +968,7 @@ class smtp_class
|
||||
{
|
||||
if ($this->backtrace)
|
||||
{
|
||||
$this->backtrace_log[] = htmlspecialchars($message, ENT_COMPAT, 'UTF-8');
|
||||
$this->backtrace_log[] = utf8_htmlspecialchars($message);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user