summaryrefslogtreecommitdiff
path: root/common.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-05-14 15:00:09 -0400
committerEvan Prodromou <evan@prodromou.name>2008-05-14 15:00:09 -0400
commit0036795582aa3fca078e744ae1bd96a9e417d361 (patch)
tree488e2cd7725834bb19c2425edb1665f95dbaa93e /common.php
parent104674fb0eb388b21ca16e014e8fda3ae5a89581 (diff)
deny access to include files
darcs-hash:20080514190009-84dde-30f0f1b5955d71cd85563e12078ab02bf8645524.gz
Diffstat (limited to 'common.php')
-rw-r--r--common.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/common.php b/common.php
index 3a5278e49..973b1c6e6 100644
--- a/common.php
+++ b/common.php
@@ -1,5 +1,7 @@
<?php
+if (!defined('MICROBLOG')) { exit(1) }
+
# global configuration object
// default configuration, overwritten in config.php