execution protection on discovery.php

This commit is contained in:
Evan Prodromou 2011-01-02 11:10:46 -08:00
parent 0649b96e9b
commit 2a54919d1f

View File

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