|
From: Andreas F. <ba...@ph...> - 2009-08-07 12:11:21
|
Author: bantu
Date: Fri Aug 7 13:10:34 2009
New Revision: 9935
Log:
Fix bug #49215 - Use $phpEx variable instead of hardcoded '.php'
Modified:
branches/phpBB-3_0_0/phpBB/install/install_update.php
Modified: branches/phpBB-3_0_0/phpBB/install/install_update.php
==============================================================================
*** branches/phpBB-3_0_0/phpBB/install/install_update.php (original)
--- branches/phpBB-3_0_0/phpBB/install/install_update.php Fri Aug 7 13:10:34 2009
***************
*** 1556,1562 ****
if ($info === false)
{
$update_info = array();
! include($phpbb_root_path . 'install/update/index.php');
$info = (empty($update_info) || !is_array($update_info)) ? false : $update_info;
if ($info !== false)
--- 1556,1562 ----
if ($info === false)
{
$update_info = array();
! include($phpbb_root_path . 'install/update/index.' . $phpEx);
$info = (empty($update_info) || !is_array($update_info)) ? false : $update_info;
if ($info !== false)
***************
*** 1570,1576 ****
global $phpbb_root_path, $phpEx;
$update_info = array();
! include($phpbb_root_path . 'install/update/index.php');
$info = (empty($update_info) || !is_array($update_info)) ? false : $update_info;
$errstr = ($info === false) ? $user->lang['WRONG_INFO_FILE_FORMAT'] : '';
--- 1570,1576 ----
global $phpbb_root_path, $phpEx;
$update_info = array();
! include($phpbb_root_path . 'install/update/index.' . $phpEx);
$info = (empty($update_info) || !is_array($update_info)) ? false : $update_info;
$errstr = ($info === false) ? $user->lang['WRONG_INFO_FILE_FORMAT'] : '';
|