|
From: Jon O. <jon...@us...> - 2006-06-17 20:46:56
|
Update of /cvsroot/mxbb/mx_errordocs In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv4691/modules/mx_errordocs Modified Files: errordocs.php Log Message: security Index: errordocs.php =================================================================== RCS file: /cvsroot/mxbb/mx_errordocs/errordocs.php,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** errordocs.php 2 May 2006 23:26:34 -0000 1.6 --- errordocs.php 17 Jun 2006 20:46:53 -0000 1.7 *************** *** 15,18 **** --- 15,23 ---- if( function_exists('read_block_config') ) { + if( !defined('IN_PORTAL') || !is_object($mx_block)) + { + die("Hacking attempt"); + } + // // Running as a Block... |