summaryrefslogtreecommitdiff
path: root/classes
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 /classes
parent104674fb0eb388b21ca16e014e8fda3ae5a89581 (diff)
deny access to include files
darcs-hash:20080514190009-84dde-30f0f1b5955d71cd85563e12078ab02bf8645524.gz
Diffstat (limited to 'classes')
-rw-r--r--classes/Notice.php3
-rw-r--r--classes/Profile.php1
-rw-r--r--classes/Remote_profile.php1
-rw-r--r--classes/Subscription.php1
-rw-r--r--classes/User.php1
5 files changed, 7 insertions, 0 deletions
diff --git a/classes/Notice.php b/classes/Notice.php
index f990675fb..a25afce2b 100644
--- a/classes/Notice.php
+++ b/classes/Notice.php
@@ -1,4 +1,7 @@
<?php
+
+if (!defined('MICROBLOG')) { exit(1) }
+
/**
* Table Definition for notice
*/
diff --git a/classes/Profile.php b/classes/Profile.php
index be4708a55..d6535238a 100644
--- a/classes/Profile.php
+++ b/classes/Profile.php
@@ -1,4 +1,5 @@
<?php
+if (!defined('MICROBLOG')) { exit(1) }
/**
* Table Definition for profile
*/
diff --git a/classes/Remote_profile.php b/classes/Remote_profile.php
index 6914bc2fb..dde2b39aa 100644
--- a/classes/Remote_profile.php
+++ b/classes/Remote_profile.php
@@ -1,4 +1,5 @@
<?php
+if (!defined('MICROBLOG')) { exit(1) }
/**
* Table Definition for remote_profile
*/
diff --git a/classes/Subscription.php b/classes/Subscription.php
index 93b46b6f8..7d1881a32 100644
--- a/classes/Subscription.php
+++ b/classes/Subscription.php
@@ -1,4 +1,5 @@
<?php
+if (!defined('MICROBLOG')) { exit(1) }
/**
* Table Definition for subscription
*/
diff --git a/classes/User.php b/classes/User.php
index 8234e0784..76f7da989 100644
--- a/classes/User.php
+++ b/classes/User.php
@@ -1,4 +1,5 @@
<?php
+if (!defined('MICROBLOG')) { exit(1) }
/**
* Table Definition for user
*/