|
From: Jon O. <jon...@us...> - 2008-02-15 22:29:34
|
Update of /cvsroot/mxbb/mx_news/mx_news/modules In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv29533 Modified Files: mx_news_main.php mx_news_post_comment.php Log Message: bad globals Index: mx_news_post_comment.php =================================================================== RCS file: /cvsroot/mxbb/mx_news/mx_news/modules/mx_news_post_comment.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_news_post_comment.php 8 Feb 2008 21:58:21 -0000 1.1 --- mx_news_post_comment.php 15 Feb 2008 22:29:30 -0000 1.2 *************** *** 29,33 **** global $template, $mx_news_functions, $lang, $board_config, $phpEx, $mx_news_config, $db, $images, $userdata; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $phpEx, $mx_request_vars; global $mx_block, $theme; --- 29,33 ---- global $template, $mx_news_functions, $lang, $board_config, $phpEx, $mx_news_config, $db, $images, $userdata; global $html_entities_match, $html_entities_replace, $unhtml_specialchars_match, $unhtml_specialchars_replace; ! global $mx_root_path, $module_root_path, $phpbb_root_path, $is_block, $mx_request_vars; global $mx_block, $theme; Index: mx_news_main.php =================================================================== RCS file: /cvsroot/mxbb/mx_news/mx_news/modules/mx_news_main.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_news_main.php 8 Feb 2008 21:58:21 -0000 1.1 --- mx_news_main.php 15 Feb 2008 22:29:30 -0000 1.2 *************** *** 27,33 **** function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $mx_news_config, $db, $images, $user_ip; global $phpbb_root_path, $userdata, $db, $mx_news_functions; ! global $mx_root_path, $module_root_path, $is_block, $phpEx, $mx_request_vars; // ======================================================= --- 27,33 ---- function main( $action ) { ! global $template, $lang, $board_config, $phpEx, $mx_news_config, $images, $user_ip; global $phpbb_root_path, $userdata, $db, $mx_news_functions; ! global $mx_root_path, $module_root_path, $is_block, $mx_request_vars; // ======================================================= |