Ignore:
Timestamp:
Mar 31, 2010, 6:32:40 PM (14 years ago)
Author:
george
Message:
  • Upraveno: Aktualizace fóra.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/forum/includes/acp/acp_update.php

    r400 r702  
    33*
    44* @package acp
    5 * @version $Id: acp_update.php 8479 2008-03-29 00:22:48Z naderman $
     5* @version $Id$
    66* @copyright (c) 2005 phpBB Group
    77* @license http://opensource.org/licenses/gpl-license.php GNU Public License
     
    3838                $errno = 0;
    3939
    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);
    4141
    4242                if ($info === false)
    4343                {
    44                         trigger_error($errstr, E_USER_WARNING);
     44                        trigger_error('VERSIONCHECK_FAIL', E_USER_WARNING);
    4545                }
    4646
     
    4949
    5050                $announcement_url = trim($info[1]);
     51                $announcement_url = (strpos($announcement_url, '&') === false) ? str_replace('&', '&', $announcement_url) : $announcement_url;
    5152                $update_link = append_sid($phpbb_root_path . 'install/index.' . $phpEx, 'mode=update');
    5253
     
    6970                        'S_VERSION_CHECK'       => true,
    7071                        'U_ACTION'                      => $this->u_action,
     72                        'U_VERSIONCHECK_FORCE' => append_sid($this->u_action . '&versioncheck_force=1'),
    7173
    7274                        'LATEST_VERSION'        => $latest_version,
Note: See TracChangeset for help on using the changeset viewer.