|
From: FlorinCB <ory...@us...> - 2008-09-08 00:54:09
|
Update of /cvsroot/mxbb/core/install/includes In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30825/includes Modified Files: functions_install.php Log Message: one more bug to fix Index: functions_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/includes/functions_install.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** functions_install.php 8 Sep 2008 00:07:26 -0000 1.15 --- functions_install.php 8 Sep 2008 00:54:05 -0000 1.16 *************** *** 859,862 **** --- 859,880 ---- } + function get_mxbb_info($config) + { + + if ((@include $config) === false) + { + install_die(GENERAL_ERROR, 'Configuration file ' . $config . ' couldn\'t be opened.'); + } + + return array( + 'dbms' => $dbms, + 'dbhost' => $dbhost, + 'dbname' => $dbname, + 'dbuser' => $dbuser, + 'dbpasswd' => $dbpasswd, + 'mx_table_prefix' => $mx_table_prefix, + ); + } + // |