|
From: Jon O. <jon...@us...> - 2006-06-17 20:12:36
|
Update of /cvsroot/mxbb/mx_newssuite/includes In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv22199/modules/mx_newssuite/includes Modified Files: newssuite_constants.php newssuite_defs.php Log Message: Syncronizing...and code cleanup Index: newssuite_constants.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/includes/newssuite_constants.php,v retrieving revision 1.19 retrieving revision 1.20 diff -C2 -d -r1.19 -r1.20 *** newssuite_constants.php 5 Apr 2006 22:35:24 -0000 1.19 --- newssuite_constants.php 17 Jun 2006 20:12:33 -0000 1.20 *************** *** 8,12 **** * */ ! // ---------------------------------------------------------------------START // This file defines specific constants for the module --- 8,17 ---- * */ ! ! if ( !defined( 'IN_PORTAL' ) ) ! { ! die( "Hacking attempt" ); ! } ! // ---------------------------------------------------------------------START // This file defines specific constants for the module Index: newssuite_defs.php =================================================================== RCS file: /cvsroot/mxbb/mx_newssuite/includes/newssuite_defs.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** newssuite_defs.php 5 Apr 2006 22:35:24 -0000 1.6 --- newssuite_defs.php 17 Jun 2006 20:12:33 -0000 1.7 *************** *** 8,12 **** * */ ! switch ( $newssuite_config['news_source_switch'] ) { --- 8,17 ---- * */ ! ! if ( !defined( 'IN_PORTAL' ) ) ! { ! die( "Hacking attempt" ); ! } ! switch ( $newssuite_config['news_source_switch'] ) { *************** *** 20,26 **** $cat_table_category_id = 'f.forum_id'; ! $item_table_category_id = 't.forum_id'; ! $item_table_item_id = 't.topic_id'; $item_table_item_type = 't.topic_type'; --- 25,31 ---- $cat_table_category_id = 'f.forum_id'; ! $item_table_category_id = 't.forum_id'; ! $item_table_item_id = 't.topic_id'; $item_table_item_type = 't.topic_type'; |