diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-03-18 23:53:12 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2002-03-18 23:53:12 +0000 |
commit | b651274960bf0d5277e67f1323cbe1cb797bcee5 (patch) | |
tree | e90ef02cb75bc9bdb5d2aa32753081a0b2761d5b /phpBB/includes/sql_parse.php | |
parent | 812d5a2f35381f42ae67f4880f32aafef2b4fb5d (diff) | |
download | forums-b651274960bf0d5277e67f1323cbe1cb797bcee5.tar forums-b651274960bf0d5277e67f1323cbe1cb797bcee5.tar.gz forums-b651274960bf0d5277e67f1323cbe1cb797bcee5.tar.bz2 forums-b651274960bf0d5277e67f1323cbe1cb797bcee5.tar.xz forums-b651274960bf0d5277e67f1323cbe1cb797bcee5.zip |
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
Diffstat (limited to 'phpBB/includes/sql_parse.php')
-rw-r--r-- | phpBB/includes/sql_parse.php | 9 |
1 files changed, 3 insertions, 6 deletions
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 |