aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/modules/acp/acp_email.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/modules/acp/acp_email.php')
-rw-r--r--phpBB/modules/acp/acp_email.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/modules/acp/acp_email.php b/phpBB/modules/acp/acp_email.php
index 3e9be9e34c..4626a607f3 100644
--- a/phpBB/modules/acp/acp_email.php
+++ b/phpBB/modules/acp/acp_email.php
@@ -25,7 +25,7 @@ class acp_email
function main($id, $mode)
{
- global $config, $db, $user, $auth, $template;
+ global $db, $user, $auth, $template;
$user->add_lang('acp/email');
$this->tpl_name = 'acp_email';
@@ -168,7 +168,7 @@ class acp_email
$messenger->template('admin_send_email', $used_lang);
- $messenger->headers('X-AntiAbuse: Board servername - ' . $config['server_name']);
+ $messenger->headers('X-AntiAbuse: Board servername - ' . phpbb::$config['server_name']);
$messenger->headers('X-AntiAbuse: User_id - ' . $user->data['user_id']);
$messenger->headers('X-AntiAbuse: Username - ' . $user->data['username']);
$messenger->headers('X-AntiAbuse: User IP - ' . $user->ip);
@@ -177,7 +177,7 @@ class acp_email
$messenger->set_mail_priority($priority);
$messenger->assign_vars(array(
- 'CONTACT_EMAIL' => $config['board_contact'],
+ 'CONTACT_EMAIL' => phpbb::$config['board_contact'],
'MESSAGE' => htmlspecialchars_decode($message))
);