Skip to content

Commit

Permalink
IIS https fix. It doesn't recognize empty($_SERVER['HTTPS']).
Browse files Browse the repository at this point in the history
  • Loading branch information
ethem committed Apr 5, 2006
1 parent 7832b22 commit f28c6f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion enrol/authorize/enrol.php
Expand Up @@ -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 {
Expand Down

0 comments on commit f28c6f0

Please sign in to comment.