|
From: FlorinCB <ory...@us...> - 2008-09-15 19:31:05
|
Update of /cvsroot/mxbb/core/install In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv15226 Modified Files: mx_install.php Log Message: fogot to upgrade this one, will tell users a warning when php version id not supported and if it is a good server they can continue, most of users with php 4.4.4 get a balank install here and ask on forums why... Index: mx_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/mx_install.php,v retrieving revision 1.108 retrieving revision 1.109 diff -C2 -d -r1.108 -r1.109 *** mx_install.php 15 Sep 2008 23:49:48 -0000 1.108 --- mx_install.php 16 Sep 2008 02:31:00 -0000 1.109 *************** *** 75,79 **** error_reporting(E_ALL ^ E_NOTICE); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables ! include($mx_root_path . "modules/mx_shared/ErrorHandler/prepend.$phpEx"); // For nice error output // ================================================================================ --- 75,79 ---- error_reporting(E_ALL ^ E_NOTICE); error_reporting (E_ERROR | E_WARNING | E_PARSE); // This will NOT report uninitialized variables ! //include($mx_root_path . "modules/mx_shared/ErrorHandler/prepend.$phpEx"); // For nice error output // ================================================================================ *************** *** 1133,1137 **** } - // // Get the MX-Publisher base dir (computed from the phpbb search path), for example /mx/, /portal/ or / --- 1133,1136 ---- *************** *** 1188,1192 **** { $mx_info = get_mxbb_info($mx_root_path . "config.$phpEx"); ! if ($mx_info['mx_table_prefix']) { --- 1187,1191 ---- { $mx_info = get_mxbb_info($mx_root_path . "config.$phpEx"); ! if ($mx_info['mx_table_prefix']) { *************** *** 1205,1209 **** 'PORTAL_BACKEND' => 'internal', 'PHPBB_URL' => '', ! 'DBMS' => $mx_info['dbms'] ? $mx_info['dbms'] : , 'DB_HOST' => $mx_info['dbhost'] ? $mx_info['dbhost'] : 'localhost', 'DB_NAME' => $mx_info['dbname'] ? $mx_info['dbname'] : '', --- 1204,1208 ---- 'PORTAL_BACKEND' => 'internal', 'PHPBB_URL' => '', ! 'DBMS' => $mx_info['dbms'] ? $mx_info['dbms'] : '', 'DB_HOST' => $mx_info['dbhost'] ? $mx_info['dbhost'] : 'localhost', 'DB_NAME' => $mx_info['dbname'] ? $mx_info['dbname'] : '', *************** *** 1225,1229 **** // $phpbb_base_path = '/' . (!$files_ary[$i] ? '' : $files_ary[$i] . '/'); ! // // Get the relative path from MX-Publisher to this phpBB installation --- 1224,1228 ---- // $phpbb_base_path = '/' . (!$files_ary[$i] ? '' : $files_ary[$i] . '/'); ! // // Get the relative path from MX-Publisher to this phpBB installation *************** *** 1275,1283 **** continue; } ! // // Try to Connect to this phpBB Database // ! if( !open_phpbb_db($db, $phpbb_info) ) { $phpbb_failed = true; --- 1274,1282 ---- continue; } ! // // Try to Connect to this phpBB Database // ! if(!open_phpbb_db($db, $phpbb_info)) { $phpbb_failed = true; *************** *** 1289,1293 **** // $phpbb_url = get_phpbb_url($phpbb_info['table_prefix'], $portal_backend); ! // // Close our DB connection. --- 1288,1292 ---- // $phpbb_url = get_phpbb_url($phpbb_info['table_prefix'], $portal_backend); ! // // Close our DB connection. |