diff --git a/phpBB/includes/acp/acp_main.php b/phpBB/includes/acp/acp_main.php index d71fc8043d..4918d99a4a 100644 --- a/phpBB/includes/acp/acp_main.php +++ b/phpBB/includes/acp/acp_main.php @@ -63,7 +63,7 @@ class acp_main if ($action === 'admlogout') { $user->unset_admin(); - $redirect_url = append_sid("{$phpbb_root_path}index.$phpEx"); + $redirect_url = append_sid(PHPBB_ROOT_PATH . 'index.' . PHP_EXT); meta_refresh(3, $redirect_url); trigger_error($user->lang['ADM_LOGGED_OUT'] . '

' . sprintf($user->lang['RETURN_INDEX'], '', '')); }