summaryrefslogtreecommitdiff
path: root/config.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 /config.php
parent104674fb0eb388b21ca16e014e8fda3ae5a89581 (diff)
deny access to include files
darcs-hash:20080514190009-84dde-30f0f1b5955d71cd85563e12078ab02bf8645524.gz
Diffstat (limited to 'config.php')
-rw-r--r--config.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.php b/config.php
index c178baf9c..cd00072a6 100644
--- a/config.php
+++ b/config.php
@@ -1,5 +1,7 @@
<?php
+if (!defined('MICROBLOG')) { exit(1) }
+
$dsn = array(
'phptype' => 'pgsql',
'username' => 'someuser',