diff --git a/phpBB/includes/acp/acp_update.php b/phpBB/includes/acp/acp_update.php index 1ab4726e8b..dbb25bdbbd 100644 --- a/phpBB/includes/acp/acp_update.php +++ b/phpBB/includes/acp/acp_update.php @@ -37,7 +37,7 @@ class acp_update $errstr = ''; $errno = 0; - $info = get_remote_file('www.phpbb.com', '/updatecheck', '30x.txt', $errstr, $errno); + $info = get_remote_file('www.phpbb.com', '/updatecheck', ((defined('PHPBB_QA')) ? '30x_qa.txt' : '30x.txt'), $errstr, $errno); if ($info === false) { diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index e32597d722..8257f8a48e 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -24,6 +24,9 @@ if (!defined('IN_PHPBB')) * PHPBB_ADMIN_PATH */ +// QA-related +// define('PHPBB_QA', 1); + // User related define('ANONYMOUS', 1); diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php index 4277246b07..22d3af9d2a 100644 --- a/phpBB/install/install_update.php +++ b/phpBB/install/install_update.php @@ -1513,7 +1513,7 @@ class install_update extends module { case 'version_info': global $phpbb_root_path, $phpEx; - $info = get_remote_file('www.phpbb.com', '/updatecheck', '30x.txt', $errstr, $errno); + $info = get_remote_file('www.phpbb.com', '/updatecheck', ((defined('PHPBB_QA')) ? '30x_qa.txt' : '30x.txt'), $errstr, $errno); if ($info !== false) {