|
From: Culprit <cul...@us...> - 2008-06-18 08:11:30
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16552/core/admin Modified Files: index_new.php Log Message: new acp phpbb3 fixes Index: index_new.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/index_new.php,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** index_new.php 18 Jun 2008 05:11:39 -0000 1.11 --- index_new.php 18 Jun 2008 08:11:25 -0000 1.12 *************** *** 111,115 **** mx_page::load_file( 'functions', 'phpbb2' ); // mx_page::load_file( 'functions', 'phpbb2' ); CULPRIT, You have to add this to the shared phpbb3 folder. ! mx_page::load_file( 'functions_module' ); $phpbb_admin_path = ( defined( 'PHPBB_ADMIN_PATH' ) ) ? PHPBB_ADMIN_PATH : 'adm/'; --- 111,116 ---- mx_page::load_file( 'functions', 'phpbb2' ); // mx_page::load_file( 'functions', 'phpbb2' ); CULPRIT, You have to add this to the shared phpbb3 folder. ! mx_page::load_file( 'functions_module', 'phpbb3' ); ! mx_page::load_file( 'functions_module', 'phpbb3' ); $phpbb_admin_path = ( defined( 'PHPBB_ADMIN_PATH' ) ) ? PHPBB_ADMIN_PATH : 'adm/'; *************** *** 795,799 **** $mx_acp = new mx_acp(); ! $mx_acp->decode_url( $HTTP_GET_VARS ); $mx_acp->assign_tabs(); --- 796,800 ---- $mx_acp = new mx_acp(); ! $mx_acp->decode_url( $_GET ); $mx_acp->assign_tabs(); *************** *** 824,828 **** $panel_html = ob_get_contents(); ob_end_clean(); ! print_r( $HTTP_POST_VARS ); $panel_html .= preg_replace( array( "#\n#esi", "#\t#si" ), array( "sprintf('%4d', \$i++) . '\n'", ' ' ), str_replace( "\n", "<br/>\n", htmlentities( $script ) ) ); break; --- 825,829 ---- $panel_html = ob_get_contents(); ob_end_clean(); ! print_r( $_POST ); $panel_html .= preg_replace( array( "#\n#esi", "#\t#si" ), array( "sprintf('%4d', \$i++) . '\n'", ' ' ), str_replace( "\n", "<br/>\n", htmlentities( $script ) ) ); break; |