|
From: MW <jo...@us...> - 2008-02-09 20:53:40
|
Update of /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/admin In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv8584/modules/mx_rebuild_search_tables/admin Modified Files: admin_rebuild_search.php admin_rebuild_mx_search.php Log Message: Dont trigger start time when just setmodules and fix call error of $mx_request_vars Index: admin_rebuild_mx_search.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/admin/admin_rebuild_mx_search.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** admin_rebuild_mx_search.php 9 Feb 2008 12:50:23 -0000 1.10 --- admin_rebuild_mx_search.php 9 Feb 2008 20:53:36 -0000 1.11 *************** *** 10,18 **** */ - $start_time = time (); - $time_limit = $mx_request_vars->get('time_limit', MX_TYPE_NO_TAGS); - - define ('IN_PORTAL', 1); - if(!empty ($setmodules)) { --- 10,13 ---- *************** *** 22,25 **** --- 17,26 ---- } + global $mx_request_vars; + $start_time = time (); + $time_limit = $mx_request_vars->get('time_limit', MX_TYPE_INT); + + define ('IN_PORTAL', 1); + $no_page_header = true; $module_root_path = '../'; Index: admin_rebuild_search.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_rebuild_search_tables/admin/admin_rebuild_search.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** admin_rebuild_search.php 9 Feb 2008 12:50:23 -0000 1.10 --- admin_rebuild_search.php 9 Feb 2008 20:53:36 -0000 1.11 *************** *** 10,18 **** */ - $start_time = time (); - $time_limit = $mx_request_vars->get('time_limit', MX_TYPE_INT); - - define ('IN_PORTAL', 1); - if(!empty ($setmodules)) { --- 10,13 ---- *************** *** 22,25 **** --- 17,26 ---- } + global $mx_request_vars; + $start_time = time (); + $time_limit = $mx_request_vars->get('time_limit', MX_TYPE_INT); + + define ('IN_PORTAL', 1); + $no_page_header = true; $module_root_path = '../'; |