]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
execution protection on discovery.php
authorEvan Prodromou <evan@status.net>
Sun, 2 Jan 2011 19:10:46 +0000 (11:10 -0800)
committerEvan Prodromou <evan@status.net>
Sun, 16 Jan 2011 22:17:55 +0000 (17:17 -0500)
lib/discovery.php

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