aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/template.php
diff options
context:
space:
mode:
Diffstat (limited to 'phpBB/includes/template.php')
-rw-r--r--phpBB/includes/template.php5
1 files changed, 5 insertions, 0 deletions
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,