summaryrefslogtreecommitdiff
path: root/plugins/OpenID/openidserver.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-08 11:23:53 -0700
committerBrion Vibber <brion@pobox.com>2010-10-08 11:23:53 -0700
commita30ea4568ff4b2a324a8a6a8870d1d72fa9ddab3 (patch)
tree1093590e54c15396cd6d06dc1bc0ac28713bada1 /plugins/OpenID/openidserver.php
parent5fe59322bc9e2be876952c29a52ff43513f46463 (diff)
Normalize execution guards in OpenID plugin files; avoids annoying fatal errors when .php files get spidered.
Diffstat (limited to 'plugins/OpenID/openidserver.php')
-rw-r--r--plugins/OpenID/openidserver.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/OpenID/openidserver.php b/plugins/OpenID/openidserver.php
index b2cf1f8ac..ed9db4fd2 100644
--- a/plugins/OpenID/openidserver.php
+++ b/plugins/OpenID/openidserver.php
@@ -28,13 +28,11 @@
* @link http://status.net/
*/
-if (!defined('STATUSNET') && !defined('LACONICA')) {
+if (!defined('STATUSNET')) {
exit(1);
}
-require_once INSTALLDIR.'/lib/action.php';
require_once INSTALLDIR.'/plugins/OpenID/openid.php';
-require_once(INSTALLDIR.'/plugins/OpenID/User_openid_trustroot.php');
/**
* Settings for OpenID