|
From: Jon O. <jon...@us...> - 2006-06-17 20:48:15
|
Update of /cvsroot/mxbb/mx_kb In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv5620/modules/mx_kb Modified Files: kb.php kb_article_reader.php Log Message: security Index: kb.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb.php,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** kb.php 17 Jun 2006 20:11:23 -0000 1.31 --- kb.php 17 Jun 2006 20:48:10 -0000 1.32 *************** *** 79,82 **** --- 79,87 ---- else { + if( !defined('IN_PORTAL') || !is_object($mx_block)) + { + die("Hacking attempt"); + } + if ( MXBB_27x ) { Index: kb_article_reader.php =================================================================== RCS file: /cvsroot/mxbb/mx_kb/kb_article_reader.php,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** kb_article_reader.php 2 May 2006 23:27:19 -0000 1.14 --- kb_article_reader.php 17 Jun 2006 20:48:10 -0000 1.15 *************** *** 79,82 **** --- 79,86 ---- else { + if( !defined('IN_PORTAL') || !is_object($mx_block)) + { + die("Hacking attempt"); + } if ( MXBB_27x ) { |