diff options
Diffstat (limited to 'phpBB/includes/usercp_avatar.php')
-rw-r--r-- | phpBB/includes/usercp_avatar.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/phpBB/includes/usercp_avatar.php b/phpBB/includes/usercp_avatar.php index 385316dbff..8e11e773bd 100644 --- a/phpBB/includes/usercp_avatar.php +++ b/phpBB/includes/usercp_avatar.php @@ -21,6 +21,12 @@ * ***************************************************************************/ +if ( !defined('IN_PROFILE') ) +{ + die("Hacking attempt"); + exit; +} + function check_image_type(&$type, &$error, &$error_msg) { global $lang; |