Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

IIS https fix. It doesn't recognize empty($_SERVER['HTTPS']).

  • Loading branch information...
commit f28c6f05b065d925f59485be9a482f0825757e61 1 parent 7832b22
ethem authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  enrol/authorize/enrol.php
View
2  enrol/authorize/enrol.php
@@ -29,7 +29,7 @@ function print_entry($course) {
$this->check_paid();
// I want to paid on SSL.
- if (empty($_SERVER['HTTPS'])) {
+ if (empty($_SERVER['HTTPS']) || $_SERVER['HTTPS'] == 'off') {
if (empty($CFG->loginhttps)) {
error(get_string("httpsrequired", "enrol_authorize"));
} else {
Please sign in to comment.
Something went wrong with that request. Please try again.