1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-01-18 22:58:10 +01:00

include functions_admin to use the add_log function

git-svn-id: file:///svn/phpbb/trunk@4218 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2003-07-11 11:49:32 +00:00
parent e0b7709ae1
commit a4d72b8f1f

View File

@ -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);
}