From b651274960bf0d5277e67f1323cbe1cb797bcee5 Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 18 Mar 2002 23:53:12 +0000 Subject: Stop being too paranoid about hacking of includes containing only fully inclusive functions git-svn-id: file:///svn/phpbb/trunk@2328 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/sql_parse.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'phpBB/includes/sql_parse.php') diff --git a/phpBB/includes/sql_parse.php b/phpBB/includes/sql_parse.php index d6c3660e1b..9761dd315c 100644 --- a/phpBB/includes/sql_parse.php +++ b/phpBB/includes/sql_parse.php @@ -28,11 +28,6 @@ * \***************************************************************************/ -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.... @@ -67,6 +62,7 @@ function remove_comments(&$output) unset($lines); return $output; } + // // remove_remarks will strip the sql comment lines out of an uploaded sql file // @@ -192,4 +188,5 @@ function split_sql_file($sql, $delimiter) return $output; } -?> + +?> \ No newline at end of file -- cgit v1.2.1