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/finishopenidlogin.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/finishopenidlogin.php')
-rw-r--r-- | plugins/OpenID/finishopenidlogin.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/OpenID/finishopenidlogin.php b/plugins/OpenID/finishopenidlogin.php index 0c03b5c4d..01dd61edb 100644 --- a/plugins/OpenID/finishopenidlogin.php +++ b/plugins/OpenID/finishopenidlogin.php @@ -17,7 +17,9 @@ * 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'; |