diff --git a/lib/discovery.php b/lib/discovery.php index c66790c1d9..d67ec94f00 100644 --- a/lib/discovery.php +++ b/lib/discovery.php @@ -28,6 +28,10 @@ * @link http://status.net/ */ +if (!defined('STATUSNET')) { + exit(1); +} + /** * This class implements LRDD-based service discovery based on the "Hammer Draft" * (including webfinger)