aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/usercp_avatar.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2002-03-18 13:35:23 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2002-03-18 13:35:23 +0000
commit502e4aceeae897a2098d22042a1ce7cb8dfdeb1b (patch)
tree2baf355c5346df7beec1194b2f142a52becececb /phpBB/includes/usercp_avatar.php
parent21ab952fe2d838cc02bd60bb6be109283b185db9 (diff)
downloadforums-502e4aceeae897a2098d22042a1ce7cb8dfdeb1b.tar
forums-502e4aceeae897a2098d22042a1ce7cb8dfdeb1b.tar.gz
forums-502e4aceeae897a2098d22042a1ce7cb8dfdeb1b.tar.bz2
forums-502e4aceeae897a2098d22042a1ce7cb8dfdeb1b.tar.xz
forums-502e4aceeae897a2098d22042a1ce7cb8dfdeb1b.zip
Updates to overcome security issue + updates of various functions, initial version of profile registration include ... not completed but should be functional for obvious reasons(!)
git-svn-id: file:///svn/phpbb/trunk@2304 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/usercp_avatar.php')
-rw-r--r--phpBB/includes/usercp_avatar.php6
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;