|
From: Culprit <cul...@us...> - 2008-06-18 12:14:04
|
Update of /cvsroot/mxbb/core/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv12291/core/admin Modified Files: index_new.php Log Message: new acp update Index: index_new.php =================================================================== RCS file: /cvsroot/mxbb/core/admin/index_new.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** index_new.php 18 Jun 2008 08:11:25 -0000 1.12 --- index_new.php 18 Jun 2008 12:13:39 -0000 1.13 *************** *** 108,120 **** include_once( $mx_root_path . 'includes/sessions/phpbb3/auth.' . $phpEx ); mx_page::load_file( 'acp/auth', 'phpbb3' ); ! // mx_page::load_file( 'auth'); ! 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/'; } - // mx_page::load_file( 'functions_'); class mx_acp { --- 108,119 ---- include_once( $mx_root_path . 'includes/sessions/phpbb3/auth.' . $phpEx ); mx_page::load_file( 'acp/auth', 'phpbb3' ); ! ! mx_page::load_file( 'functions', 'phpbb3' ); mx_page::load_file( 'functions_module', 'phpbb3' ); + mx_page::load_file( 'functions_admin', 'phpbb3' ); + mx_page::load_file( 'functions_hook', 'phpbb3' ); $phpbb_admin_path = ( defined( 'PHPBB_ADMIN_PATH' ) ) ? PHPBB_ADMIN_PATH : 'adm/'; } class mx_acp { *************** *** 154,158 **** if ( OLYMPUS_CATEGORY == PORTAL_BACKEND ) { - include_once( $mx_root_path . 'includes/shared/phpbb3/includes/functions_hook.' . $phpEx ); $this->phpbb3_hook = new mx_phpbb3_admin( $this ); //$this->phpbb3_hook->hook( 'admin' ); --- 153,156 ---- *************** *** 795,798 **** --- 793,797 ---- } + $mx_acp = new mx_acp(); $mx_acp->decode_url( $_GET ); *************** *** 801,804 **** --- 800,804 ---- $mx_acp->assign_menu(); + //$cache_acp_file = "{$mx_root_path}cache" $script = $mx_acp->prepare_action_script(); error_reporting( E_ALL ^ E_NOTICE ); |