execution protection on discovery.php

This commit is contained in:
Evan Prodromou 2011-01-02 11:10:46 -08:00
parent fafb6733db
commit 81079fe522
1 changed files with 4 additions and 0 deletions

View File

@ -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)