|
From: Jon O. <jon...@us...> - 2006-06-17 20:45:25
|
Update of /cvsroot/mxbb/core/modules/mx_phpbb2blocks In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv4108/modules/mx_phpbb2blocks Modified Files: mx_last_msg.php mx_statistics.php Log Message: security Index: mx_statistics.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb2blocks/mx_statistics.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_statistics.php 2 May 2006 23:22:17 -0000 1.1 --- mx_statistics.php 17 Jun 2006 20:45:22 -0000 1.2 *************** *** 27,30 **** --- 27,34 ---- else { + if( !defined('IN_PORTAL') || !is_object($mx_block)) + { + die("Hacking attempt"); + } // // Read Block Settings Index: mx_last_msg.php =================================================================== RCS file: /cvsroot/mxbb/core/modules/mx_phpbb2blocks/mx_last_msg.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** mx_last_msg.php 2 May 2006 23:22:17 -0000 1.1 --- mx_last_msg.php 17 Jun 2006 20:45:22 -0000 1.2 *************** *** 9,13 **** */ ! if( !defined('IN_PORTAL') ) { die("Hacking attempt"); --- 9,13 ---- */ ! if( !defined('IN_PORTAL') || !is_object($mx_block)) { die("Hacking attempt"); |