diff options
author | David M <davidmj@users.sourceforge.net> | 2006-12-21 02:07:52 +0000 |
---|---|---|
committer | David M <davidmj@users.sourceforge.net> | 2006-12-21 02:07:52 +0000 |
commit | d9f3aed7042a85d9553dc509182422326e23ec49 (patch) | |
tree | 4ec5a74a8e073d3db4e99c6cad976506d138e137 /phpBB/install/install_install.php | |
parent | 9e5819ac4c2afacd5a66e7e9e2dc71f0f182c0b1 (diff) | |
download | forums-d9f3aed7042a85d9553dc509182422326e23ec49.tar forums-d9f3aed7042a85d9553dc509182422326e23ec49.tar.gz forums-d9f3aed7042a85d9553dc509182422326e23ec49.tar.bz2 forums-d9f3aed7042a85d9553dc509182422326e23ec49.tar.xz forums-d9f3aed7042a85d9553dc509182422326e23ec49.zip |
#6460, thanks to ToonArmy for the patch :D
- removed pregenerated template variables from the installer
git-svn-id: file:///svn/phpbb/trunk@6785 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install/install_install.php')
-rwxr-xr-x | phpBB/install/install_install.php | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php index b3a7bfa89a..dd20987c04 100755 --- a/phpBB/install/install_install.php +++ b/phpBB/install/install_install.php @@ -133,7 +133,6 @@ class install_install extends module // Test for basic PHP settings $template->assign_block_vars('checks', array( 'S_LEGEND' => true, - 'S_FIRST_ROW' => true, 'LEGEND' => $lang['PHP_SETTINGS'], 'LEGEND_EXPLAIN' => $lang['PHP_SETTINGS_EXPLAIN'], )); @@ -219,7 +218,6 @@ class install_install extends module // Test for available database modules $template->assign_block_vars('checks', array( 'S_LEGEND' => true, - 'S_FIRST_ROW' => false, 'LEGEND' => $lang['MBSTRING_CHECK'], 'LEGEND_EXPLAIN' => $lang['MBSTRING_CHECK_EXPLAIN'], )); @@ -274,7 +272,6 @@ class install_install extends module // Test for available database modules $template->assign_block_vars('checks', array( 'S_LEGEND' => true, - 'S_FIRST_ROW' => false, 'LEGEND' => $lang['PHP_SUPPORTED_DB'], 'LEGEND_EXPLAIN' => $lang['PHP_SUPPORTED_DB_EXPLAIN'], )); @@ -313,7 +310,6 @@ class install_install extends module // Test for other modules $template->assign_block_vars('checks', array( 'S_LEGEND' => true, - 'S_FIRST_ROW' => false, 'LEGEND' => $lang['PHP_OPTIONAL_MODULE'], 'LEGEND_EXPLAIN' => $lang['PHP_OPTIONAL_MODULE_EXPLAIN'], )); @@ -386,7 +382,6 @@ class install_install extends module // Check permissions on files/directories we need access to $template->assign_block_vars('checks', array( 'S_LEGEND' => true, - 'S_FIRST_ROW' => false, 'LEGEND' => $lang['FILES_REQUIRED'], 'LEGEND_EXPLAIN' => $lang['FILES_REQUIRED_EXPLAIN'], )); @@ -443,7 +438,6 @@ class install_install extends module // Check permissions on files/directories it would be useful access to $template->assign_block_vars('checks', array( 'S_LEGEND' => true, - 'S_FIRST_ROW' => false, 'LEGEND' => $lang['FILES_OPTIONAL'], 'LEGEND_EXPLAIN' => $lang['FILES_OPTIONAL_EXPLAIN'], )); @@ -526,7 +520,6 @@ class install_install extends module $template->assign_block_vars('checks', array( 'S_LEGEND' => true, - 'S_FIRST_ROW' => true, 'LEGEND' => $lang['DB_CONNECTION'], 'LEGEND_EXPLAIN' => false, )); @@ -712,7 +705,6 @@ class install_install extends module $template->assign_block_vars('checks', array( 'S_LEGEND' => true, - 'S_FIRST_ROW' => true, 'LEGEND' => $lang['STAGE_ADMINISTRATOR'], 'LEGEND_EXPLAIN' => false, )); @@ -1192,7 +1184,7 @@ class install_install extends module if ($script_path !== '/') { // Adjust destination path (no trailing slash) - if ($script_path[sizeof($script_path) - 1] == '/') + if (substr($script_path, -1) == '/') { $script_path = substr($script_path, 0, -1); } |