From e22ee2247022fcf60376aa056cb48212b2775057 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 18 Mar 2002 13:35:43 +0000 Subject: Loads'a changes including fix for security issue, thanks to Matthijs for checking this out and confirming git-svn-id: file:///svn/phpbb/trunk@2305 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/modcp.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'phpBB/modcp.php') diff --git a/phpBB/modcp.php b/phpBB/modcp.php index 5bd9268573..35d23ae424 100644 --- a/phpBB/modcp.php +++ b/phpBB/modcp.php @@ -29,11 +29,13 @@ * topics via the moderator operations buttons on all of the viewtopic pages. */ +define('IN_PHPBB', true); $phpbb_root_path = "./"; include($phpbb_root_path . 'extension.inc'); include($phpbb_root_path . 'common.'.$phpEx); include($phpbb_root_path . 'includes/bbcode.'.$phpEx); -include($phpbb_root_path . 'includes/search.'.$phpEx); +include($phpbb_root_path . 'includes/functions_admin.'.$phpEx); +include($phpbb_root_path . 'includes/functions_search.'.$phpEx); // // Obtain initial var settings -- cgit v1.2.1