aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/emailer.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/emailer.php')
-rwxr-xr-xphpBB/includes/emailer.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/phpBB/includes/emailer.php b/phpBB/includes/emailer.php
index 1e7a753608..ac1acbdac2 100755
--- a/phpBB/includes/emailer.php
+++ b/phpBB/includes/emailer.php
@@ -261,6 +261,7 @@ class emailer
if (!$result)
{
$message = '<u>EMAIL ERROR</u> [ ' . (($config['smtp_delivery']) ? 'SMTP' : 'PHP') . ' ]<br /><br />' . $err_msg . '<br /><br /><u>CALLING PAGE</u><br /><br />' . ((!empty($_SERVER['PHP_SELF'])) ? $_SERVER['PHP_SELF'] : $_ENV['PHP_SELF']) . '<br />';
+ @include_once($phpbb_root_path . 'includes/functions_admin.'.$phpEx);
add_log('critical', 'EMAIL_ERROR', $message);
trigger_error($message, E_USER_ERROR);
}