Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Redirect OpenID authentication requests to https:// of same URL
- // Assuming valid OpenID operation over GET
- if (!isset($_SERVER['HTTPS']) &&
- ($_GET['openid_mode'] == 'checkid_immediate' ||
- $_GET['openid_mode'] == 'checkid_setup'))
- http_redirect("https://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}");
Add Comment
Please, Sign In to add comment