Changeset 702 for trunk/forum/includes/acp/acp_update.php
- Timestamp:
- Mar 31, 2010, 6:32:40 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/forum/includes/acp/acp_update.php
r400 r702 3 3 * 4 4 * @package acp 5 * @version $Id : acp_update.php 8479 2008-03-29 00:22:48Z naderman$5 * @version $Id$ 6 6 * @copyright (c) 2005 phpBB Group 7 7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License … … 38 38 $errno = 0; 39 39 40 $info = get_remote_file('www.phpbb.com', '/updatecheck', ((defined('PHPBB_QA')) ? '30x_qa.txt' : '30x.txt'), $errstr, $errno);40 $info = obtain_latest_version_info(request_var('versioncheck_force', false), true); 41 41 42 42 if ($info === false) 43 43 { 44 trigger_error( $errstr, E_USER_WARNING);44 trigger_error('VERSIONCHECK_FAIL', E_USER_WARNING); 45 45 } 46 46 … … 49 49 50 50 $announcement_url = trim($info[1]); 51 $announcement_url = (strpos($announcement_url, '&') === false) ? str_replace('&', '&', $announcement_url) : $announcement_url; 51 52 $update_link = append_sid($phpbb_root_path . 'install/index.' . $phpEx, 'mode=update'); 52 53 … … 69 70 'S_VERSION_CHECK' => true, 70 71 'U_ACTION' => $this->u_action, 72 'U_VERSIONCHECK_FORCE' => append_sid($this->u_action . '&versioncheck_force=1'), 71 73 72 74 'LATEST_VERSION' => $latest_version,
Note:
See TracChangeset
for help on using the changeset viewer.