]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
execution guard fixes in Facebook plugin files
authorBrion Vibber <brion@pobox.com>
Fri, 8 Oct 2010 18:26:57 +0000 (11:26 -0700)
committerBrion Vibber <brion@pobox.com>
Fri, 8 Oct 2010 18:26:57 +0000 (11:26 -0700)
plugins/Facebook/FBConnectAuth.php
plugins/Facebook/facebookutil.php

index f06dffaaabbd789a71b6f4ee535fc48ffba0cd85..d6d3786261e6ebc6f2ea91224e3966ca66df3423 100644 (file)
  * @link      http://status.net/
  */
 
+if (!defined('STATUSNET')) {
+    exit(1);
+}
+
 require_once INSTALLDIR . '/plugins/Facebook/FacebookPlugin.php';
 
 class FBConnectauthAction extends Action
index e78856f7c474eb0733e90109c685afcd5e88a1e8..fb70c51bc542efbb1d3f27adc7b07efb7d2e4742 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+if (!defined('STATUSNET')) {
+    exit(1);
+}
+
 require_once INSTALLDIR . '/plugins/Facebook/facebook/facebook.php';
 require_once INSTALLDIR . '/plugins/Facebook/facebookaction.php';
 require_once INSTALLDIR . '/lib/noticelist.php';