diff options
Diffstat (limited to 'inc/filters.php')
| -rw-r--r-- | inc/filters.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/filters.php b/inc/filters.php index 3698f4e0..b3a0ca43 100644 --- a/inc/filters.php +++ b/inc/filters.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; +} + class Filter { private $condition; |
