mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02: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:
@@ -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'] : '';
|
||||
|
Reference in New Issue
Block a user