aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-11-19 17:00:34 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-11-19 17:00:34 +0000
commitdd409913b52b0b34a9a7c054f06f43fbce3a0567 (patch)
tree1a417cda1599d467154bdc831fe83a3eafa27395
parentc698a2571a9da98d3cb77852220f46149066ac90 (diff)
downloadforums-dd409913b52b0b34a9a7c054f06f43fbce3a0567.tar
forums-dd409913b52b0b34a9a7c054f06f43fbce3a0567.tar.gz
forums-dd409913b52b0b34a9a7c054f06f43fbce3a0567.tar.bz2
forums-dd409913b52b0b34a9a7c054f06f43fbce3a0567.tar.xz
forums-dd409913b52b0b34a9a7c054f06f43fbce3a0567.zip
lets start thinking about the future
git-svn-id: file:///svn/phpbb/trunk@8249 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/includes/acp/acp_update.php2
-rw-r--r--phpBB/includes/constants.php3
-rw-r--r--phpBB/install/install_update.php2
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)
{