aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/modules/acp/acp_bots.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/modules/acp/acp_bots.php')
-rw-r--r--phpBB/modules/acp/acp_bots.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/modules/acp/acp_bots.php b/phpBB/modules/acp/acp_bots.php
index 7a23ca09c5..f4d78e7cc9 100644
--- a/phpBB/modules/acp/acp_bots.php
+++ b/phpBB/modules/acp/acp_bots.php
@@ -25,7 +25,7 @@ class acp_bots
function main($id, $mode)
{
- global $config, $db, $user, $auth, $template;
+ global $db, $user, $auth, $template;
$action = request_var('action', '');
$submit = phpbb_request::is_set_post('submit');
@@ -147,8 +147,8 @@ class acp_bots
'bot_agent' => request_var('bot_agent', ''),
'bot_ip' => request_var('bot_ip', ''),
'bot_active' => request_var('bot_active', true),
- 'bot_lang' => request_var('bot_lang', $config['default_lang']),
- 'bot_style' => request_var('bot_style' , $config['default_style']),
+ 'bot_lang' => request_var('bot_lang', phpbb::$config['default_lang']),
+ 'bot_style' => request_var('bot_style' , phpbb::$config['default_style']),
);
if ($submit)