From dd409913b52b0b34a9a7c054f06f43fbce3a0567 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Mon, 19 Nov 2007 17:00:34 +0000 Subject: [PATCH] lets start thinking about the future git-svn-id: file:///svn/phpbb/trunk@8249 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/acp/acp_update.php | 2 +- phpBB/includes/constants.php | 3 +++ phpBB/install/install_update.php | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) 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) {