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/sql_parse.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/includes/sql_parse.php') diff --git a/phpBB/includes/sql_parse.php b/phpBB/includes/sql_parse.php index c2bb4db4c6..d6c3660e1b 100644 --- a/phpBB/includes/sql_parse.php +++ b/phpBB/includes/sql_parse.php @@ -28,6 +28,11 @@ * \***************************************************************************/ +if ( !defined('IN_PHPBB') ) +{ + die("Hacking attempt"); +} + // // remove_comments will strip the sql comment lines out of an uploaded sql file // specifically for mssql and postgres type files in the install.... -- cgit v1.2.1