From 69b13cb279d7b60cb3a7beb9ad39cfe3a3b7745b Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Fri, 8 Oct 2010 10:42:59 -0700 Subject: Normalize execution guards on OStatus php files; mostly helps cut down on annoying 'class not found' errors when something spiders the dirs. :P --- plugins/OStatus/lib/pushinqueuehandler.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins/OStatus/lib/pushinqueuehandler.php') diff --git a/plugins/OStatus/lib/pushinqueuehandler.php b/plugins/OStatus/lib/pushinqueuehandler.php index 965d04266..ec1911653 100644 --- a/plugins/OStatus/lib/pushinqueuehandler.php +++ b/plugins/OStatus/lib/pushinqueuehandler.php @@ -17,6 +17,10 @@ * along with this program. If not, see . */ +if (!defined('STATUSNET')) { + exit(1); +} + /** * Process a feed distribution POST from a PuSH hub. * @package FeedSub -- cgit v1.2.3-54-g00ecf