diff options
Diffstat (limited to 'inc/events.php')
| -rw-r--r-- | inc/events.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/events.php b/inc/events.php index 1c45b91b..33fa5a61 100644 --- a/inc/events.php +++ b/inc/events.php @@ -1,5 +1,14 @@ <?php +/* + * Copyright (c) 2010-2012 Tinyboard Development Group + */ + +if(realpath($_SERVER['SCRIPT_FILENAME']) == str_replace('\\', '/', __FILE__)) { + // You cannot request this file directly. + exit; +} + function event() { global $events; |
