aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_search.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/functions_search.php')
-rw-r--r--phpBB/includes/functions_search.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/functions_search.php b/phpBB/includes/functions_search.php
index 325581101a..2a6b40c03f 100644
--- a/phpBB/includes/functions_search.php
+++ b/phpBB/includes/functions_search.php
@@ -19,6 +19,11 @@
*
***************************************************************************/
+if ( !defined('IN_PHPBB') )
+{
+ die("Hacking attempt");
+}
+
function clean_words($mode, &$entry, &$stopword_list, &$synonym_list)
{
// Weird, $init_match doesn't work with static when double quotes (") are used...