diff options
| author | Michael Save <savetheinternet@tinyboard.org> | 2012-04-12 02:49:22 +1000 |
|---|---|---|
| committer | Michael Save <savetheinternet@tinyboard.org> | 2012-04-12 02:49:22 +1000 |
| commit | c9423a2c34a5b93bf9cf2c506acca713781e60b6 (patch) | |
| tree | 16f4a569d34fc67365b453bafe561524fce87b22 /inc/events.php | |
| parent | 88092e4f9e50e94f094e55c54a6150df104043b1 (diff) | |
large cleanup
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; |
