diff options
author | Brion Vibber <brion@pobox.com> | 2010-10-08 11:23:53 -0700 |
---|---|---|
committer | Brion Vibber <brion@pobox.com> | 2010-10-08 11:23:53 -0700 |
commit | a30ea4568ff4b2a324a8a6a8870d1d72fa9ddab3 (patch) | |
tree | 1093590e54c15396cd6d06dc1bc0ac28713bada1 /plugins/OpenID/openidtrust.php | |
parent | 5fe59322bc9e2be876952c29a52ff43513f46463 (diff) |
Normalize execution guards in OpenID plugin files; avoids annoying fatal errors when .php files get spidered.
Diffstat (limited to 'plugins/OpenID/openidtrust.php')
-rw-r--r-- | plugins/OpenID/openidtrust.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/OpenID/openidtrust.php b/plugins/OpenID/openidtrust.php index ed6ca73a4..89f3150f6 100644 --- a/plugins/OpenID/openidtrust.php +++ b/plugins/OpenID/openidtrust.php @@ -17,10 +17,11 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -if (!defined('STATUSNET') && !defined('LACONICA')) { exit(1); } +if (!defined('STATUSNET')) { + exit(1); +} require_once INSTALLDIR.'/plugins/OpenID/openid.php'; -require_once(INSTALLDIR.'/plugins/OpenID/User_openid_trustroot.php'); class OpenidtrustAction extends Action { |