From 7cc218e8bf3d7660236e8b3069d47e32bfc91d15 Mon Sep 17 00:00:00 2001 From: Ice Date: Sat, 2 Feb 2008 12:49:49 +0000 Subject: [PATCH] Unreported: Use of ".php" instead of $phpEx --- root/portal.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/root/portal.php b/root/portal.php index 8a29eff2..cccdeba8 100644 --- a/root/portal.php +++ b/root/portal.php @@ -28,9 +28,9 @@ $load_center = true; if ( is_dir( $phpbb_root_path . 'install_portal/' ) === TRUE ) { - if ( is_file( $phpbb_root_path . 'install_portal/install.php' ) === TRUE ) + if ( is_file( $phpbb_root_path . 'install_portal/install.'.$phpEx ) === TRUE ) { - include $phpbb_root_path . 'install_portal/install.php'; + include $phpbb_root_path . 'install_portal/install.'.$phpEx; if ( version_compare( $current_version, $portal_config['portal_version'], '<=' ) === TRUE ) { @@ -45,7 +45,7 @@ if ( is_dir( $phpbb_root_path . 'install_portal/' ) === TRUE ) $template->assign_vars(array( 'S_DISPLAY_GENERAL' => true, 'GEN_TITLE' => $user->lang['PORTAL_UPDATE'], - 'GEN_MESSAGE' => sprintf( $user->lang['PORTAL_UPDATE_TEXT'], $phpbb_root_path . 'install_portal/install.php', $current_version ) + 'GEN_MESSAGE' => sprintf( $user->lang['PORTAL_UPDATE_TEXT'], $phpbb_root_path . 'install_portal/install.'.$phpEx, $current_version ) )); }