aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/sql_parse.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/sql_parse.php')
-rw-r--r--phpBB/includes/sql_parse.php5
1 files changed, 5 insertions, 0 deletions
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....