|
From: Jonathan H. <the...@us...> - 2002-03-20 19:59:45
|
Update of /cvsroot/phpbb/phpBB2/includes
In directory usw-pr-cvs1:/tmp/cvs-serv10081
Modified Files:
prune.php
Log Message:
add hack check
Index: prune.php
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/includes/prune.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** prune.php 20 Mar 2002 15:46:36 -0000 1.13
--- prune.php 20 Mar 2002 19:59:42 -0000 1.14
***************
*** 20,23 ****
--- 20,27 ----
*
***************************************************************************/
+ if ( !defined('IN_PHPBB') )
+ {
+ die("Hacking attempt");
+ }
require($phpbb_root_path . 'includes/functions_search.'.$phpEx);
***************
*** 160,162 ****
}
! ?>
\ No newline at end of file
--- 164,166 ----
}
! ?>
|