From 502e4aceeae897a2098d22042a1ce7cb8dfdeb1b Mon Sep 17 00:00:00 2001 From: "Paul S. Owen" Date: Mon, 18 Mar 2002 13:35:23 +0000 Subject: 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 --- phpBB/includes/auth.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/includes/auth.php') diff --git a/phpBB/includes/auth.php b/phpBB/includes/auth.php index 7acab748f0..fb62ee70a8 100644 --- a/phpBB/includes/auth.php +++ b/phpBB/includes/auth.php @@ -20,6 +20,11 @@ * ***************************************************************************/ +if ( !defined('IN_PHPBB') ) +{ + die("Hacking attempt"); +} + /* $type's accepted (pre-pend with AUTH_): VIEW, READ, POST, REPLY, EDIT, DELETE, STICKY, ANNOUNCE, VOTE, VOTECREATE, -- cgit v1.2.1