summaryrefslogtreecommitdiff
path: root/inc/events.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-04-12 02:49:22 +1000
committerMichael Save <savetheinternet@tinyboard.org>2012-04-12 02:49:22 +1000
commitc9423a2c34a5b93bf9cf2c506acca713781e60b6 (patch)
tree16f4a569d34fc67365b453bafe561524fce87b22 /inc/events.php
parent88092e4f9e50e94f094e55c54a6150df104043b1 (diff)
large cleanup
Diffstat (limited to 'inc/events.php')
-rw-r--r--inc/events.php9
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;