diff options
Diffstat (limited to 'phpBB/includes/functions_validate.php')
-rw-r--r-- | phpBB/includes/functions_validate.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/phpBB/includes/functions_validate.php b/phpBB/includes/functions_validate.php index d7fb2e3a37..67d585dbf4 100644 --- a/phpBB/includes/functions_validate.php +++ b/phpBB/includes/functions_validate.php @@ -21,6 +21,11 @@ * ***************************************************************************/ +if ( !defined('IN_PHPBB') ) +{ + die("Hacking attempt"); +} + // // Check to see if the username has been taken, or if it is disallowed. // Also checks if it includes the " character, which we don't allow in usernames. |