|
From: OryNider <ory...@us...> - 2008-02-12 07:34:51
|
Update of /cvsroot/mxbb/core/install In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv3565 Modified Files: mx_install.php Log Message: class mx_request_vars included and initialized Index: mx_install.php =================================================================== RCS file: /cvsroot/mxbb/core/install/mx_install.php,v retrieving revision 1.91 retrieving revision 1.92 diff -C2 -d -r1.91 -r1.92 *** mx_install.php 11 Feb 2008 11:13:17 -0000 1.91 --- mx_install.php 12 Feb 2008 07:34:29 -0000 1.92 *************** *** 384,389 **** // HERE BEGINS THE PARTY... // ================================================================================ ! $phpEx = substr(strrchr(__FILE__, '.'), 1); ! include($mx_root_path . "install/includes/functions_install.$phpEx"); --- 384,388 ---- // HERE BEGINS THE PARTY... // ================================================================================ ! include($mx_root_path . 'includes/mx_functions_core.' . $phpEx); // CORE class include($mx_root_path . "install/includes/functions_install.$phpEx"); *************** *** 397,403 **** // // Send file -------------------------------------------------- // ! if ($mx_request_vars->post('send_file', MX_TYPE_INT) == 1 ) { header( "Content-Type: text/x-delimtext; name=\"config.$phpEx\"" ); --- 396,407 ---- // + // instatiate the mx_request_vars class + // make sure to do before it's ever used + $mx_request_vars = new mx_request_vars(); + + // // Send file -------------------------------------------------- // ! if ($mx_request_vars->post('send_file', MX_TYPE_INT) == 1) { header( "Content-Type: text/x-delimtext; name=\"config.$phpEx\"" ); *************** *** 532,536 **** $schemas = array(); ! switch( $install_mode ) { case 'install': --- 536,540 ---- $schemas = array(); ! switch($install_mode) { case 'install': |