From 502e4aceeae897a2098d22042a1ce7cb8dfdeb1b Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 18 Mar 2002 13:35:23 +0000 Subject: Updates to overcome security issue + updates of various functions, initial version of profile registration include ... not completed but should be functional for obvious reasons(!) git-svn-id: file:///svn/phpbb/trunk@2304 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/prune.php | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'phpBB/includes/prune.php') diff --git a/phpBB/includes/prune.php b/phpBB/includes/prune.php index a3ba28b51c..2d398692ea 100644 --- a/phpBB/includes/prune.php +++ b/phpBB/includes/prune.php @@ -20,7 +20,12 @@ * ***************************************************************************/ -require($phpbb_root_path . 'includes/search.'.$phpEx); +if ( !defined('IN_PHPBB') ) +{ + die("Hacking attempt"); +} + +require($phpbb_root_path . 'includes/functions_search.'.$phpEx); function prune($forum_id, $prune_date) { -- cgit v1.2.1