aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_search.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-03-18 13:35:23 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-03-18 13:35:23 +0000
commit502e4aceeae897a2098d22042a1ce7cb8dfdeb1b (patch)
tree2baf355c5346df7beec1194b2f142a52becececb /phpBB/includes/functions_search.php
parent21ab952fe2d838cc02bd60bb6be109283b185db9 (diff)
downloadforums-502e4aceeae897a2098d22042a1ce7cb8dfdeb1b.tar
forums-502e4aceeae897a2098d22042a1ce7cb8dfdeb1b.tar.gz
forums-502e4aceeae897a2098d22042a1ce7cb8dfdeb1b.tar.bz2
forums-502e4aceeae897a2098d22042a1ce7cb8dfdeb1b.tar.xz
forums-502e4aceeae897a2098d22042a1ce7cb8dfdeb1b.zip
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
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...