summaryrefslogtreecommitdiff
path: root/stream.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 /stream.php
parent104674fb0eb388b21ca16e014e8fda3ae5a89581 (diff)
deny access to include files
darcs-hash:20080514190009-84dde-30f0f1b5955d71cd85563e12078ab02bf8645524.gz
Diffstat (limited to 'stream.php')
-rw-r--r--stream.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/stream.php b/stream.php
index d30ee013c..9f972d75e 100644
--- a/stream.php
+++ b/stream.php
@@ -1,5 +1,7 @@
<?php
+if (!defined('MICROBLOG')) { exit(1) }
+
define('NOTICES_PER_PAGE', 20);
class StreamAction extends Action {