aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-07-11 11:49:32 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-07-11 11:49:32 +0000
commita4d72b8f1f67e084db4a52a33159378ef1825c06 (patch)
tree8172900186fdafb01ac49f577b22015e3853eeb5 /phpBB
parente0b7709ae1afc8111ed54bd8f742a5bfd455994e (diff)
downloadforums-a4d72b8f1f67e084db4a52a33159378ef1825c06.tar
forums-a4d72b8f1f67e084db4a52a33159378ef1825c06.tar.gz
forums-a4d72b8f1f67e084db4a52a33159378ef1825c06.tar.bz2
forums-a4d72b8f1f67e084db4a52a33159378ef1825c06.tar.xz
forums-a4d72b8f1f67e084db4a52a33159378ef1825c06.zip
include functions_admin to use the add_log function
git-svn-id: file:///svn/phpbb/trunk@4218 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-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);
}