aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2009-08-07 12:10:34 +0000
committerAndreas Fischer <bantu@phpbb.com>2009-08-07 12:10:34 +0000
commit8dcad17d1b938b04546254968c7a76ff39b8332d (patch)
treec4e015e82bfd1e56861f5f31ed079b7fb0fe58d7 /phpBB/install
parentd79c81449abfade601757bdd2963e513977e9500 (diff)
downloadforums-8dcad17d1b938b04546254968c7a76ff39b8332d.tar
forums-8dcad17d1b938b04546254968c7a76ff39b8332d.tar.gz
forums-8dcad17d1b938b04546254968c7a76ff39b8332d.tar.bz2
forums-8dcad17d1b938b04546254968c7a76ff39b8332d.tar.xz
forums-8dcad17d1b938b04546254968c7a76ff39b8332d.zip
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
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/install_update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php
index ccbad07e5b..f73f741fae 100644
--- a/phpBB/install/install_update.php
+++ b/phpBB/install/install_update.php
@@ -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'] : '';