You are here

function _logintoboggan_protocol in LoginToboggan 5

Same name and namespace in other branches
  1. 6 logintoboggan.module \_logintoboggan_protocol()
  2. 7 logintoboggan.module \_logintoboggan_protocol()
2 calls to _logintoboggan_protocol()
logintoboggan_resend_validation in ./logintoboggan.module
Re-sends validation e-mail to user specified by $uid.
logintoboggan_user_register_submit in ./logintoboggan.module
Custom submit function for user registration form

File

./logintoboggan.module, line 1047
Logintoboggan Module

Code

function _logintoboggan_protocol() {
  return $_SERVER['HTTPS'] == 'on' ? 'https' : 'http';
}