mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 21:08:53 +00: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:
parent
d79c81449a
commit
8dcad17d1b
1 changed files with 2 additions and 2 deletions
|
@ -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'] : '';
|
||||
|
|
Loading…
Add table
Reference in a new issue