1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 03:54:10 +01:00

Fix bug #49215 - Use $phpEx variable instead of hardcoded '.php'

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9935 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Andreas Fischer 2009-08-07 12:10:34 +00:00
parent d79c81449a
commit 8dcad17d1b

View File

@ -1556,7 +1556,7 @@ class install_update extends module
if ($info === false)
{
$update_info = array();
include($phpbb_root_path . 'install/update/index.php');
include($phpbb_root_path . 'install/update/index.' . $phpEx);
$info = (empty($update_info) || !is_array($update_info)) ? false : $update_info;
if ($info !== false)
@ -1570,7 +1570,7 @@ class install_update extends module
global $phpbb_root_path, $phpEx;
$update_info = array();
include($phpbb_root_path . 'install/update/index.php');
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'] : '';