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/template.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'phpBB/includes/template.php') diff --git a/phpBB/includes/template.php b/phpBB/includes/template.php index 3a15710a2c..16b59c01fd 100644 --- a/phpBB/includes/template.php +++ b/phpBB/includes/template.php @@ -20,6 +20,11 @@ * ***************************************************************************/ +if ( !defined('IN_PHPBB') ) +{ + die("Hacking attempt"); +} + /** * Template class. By Nathan Codding of the phpBB group. * The interface was originally inspired by PHPLib templates, -- cgit v1.2.1