You are here

function securelogin_boot in Secure Login 6

Restore the original base URL if redirection is enabled

File

./securelogin.module, line 155

Code

function securelogin_boot() {
  global $base_url;
  if (isset($_REQUEST['securelogin_original_baseurl'])) {
    if (variable_get('securelogin_redirect', TRUE)) {
      $base_url = variable_get('securelogin_original_baseurl', $base_url);
    }
  }
}