|
From: Markus P. <mar...@us...> - 2005-03-23 22:20:59
|
Update of /cvsroot/mxbb/core/install In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12066 Modified Files: mx_install.php Log Message: Changed mx_install.php so it allows empty db passwords and empty phpbb table prefixes (why not? ). Also fixed PHP warning related to is_file/is_link in install_language_select(). Index: mx_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/mx_install.php,v retrieving revision 1.36 retrieving revision 1.37 diff -C2 -d -r1.36 -r1.37 *** mx_install.php 21 Mar 2005 20:59:33 -0000 1.36 --- mx_install.php 23 Mar 2005 22:20:00 -0000 1.37 *************** *** 54,58 **** // This is shown in the top right corner of the installation panels. // ! define('INSTALLER_VERSION', '1.0.5'); define('INSTALLER_NAME', 'mxBB-Installer'); --- 54,58 ---- // This is shown in the top right corner of the installation panels. // ! define('INSTALLER_VERSION', '1.0.6'); define('INSTALLER_NAME', 'mxBB-Installer'); *************** *** 406,411 **** if( empty($phpbb_path) || empty($phpbb_url) || empty($portal_url) || ! empty($dbms) || empty($dbhost) || empty($dbname) || empty($dbuser) || empty($dbpasswd) || ! empty($table_prefix) || empty($mx_table_prefix) ) { break; --- 406,411 ---- if( empty($phpbb_path) || empty($phpbb_url) || empty($portal_url) || ! empty($dbms) || empty($dbhost) || empty($dbname) || empty($dbuser) || ! empty($mx_table_prefix) ) { break; *************** *** 1026,1030 **** while ( $file = @readdir($dir) ) { ! if ( ereg("^lang_", $file) && !is_file($dirname . '/' . $file) && !is_link($dirname . '/' . $file) ) { $filename = trim(str_replace('lang_', '', $file)); --- 1026,1030 ---- while ( $file = @readdir($dir) ) { ! if ( ereg("^lang_", $file) && !@is_file($dirname . '/' . $file) && !@is_link($dirname . '/' . $file) ) { $filename = trim(str_replace('lang_', '', $file)); *************** *** 1239,1243 **** { @include($config); ! return ( !empty($table_prefix) ); } --- 1239,1243 ---- { @include($config); ! return ( !empty($dbhost) && !empty($dbname) && !empty($dbuser) ); } |