Permalink
Browse files

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

  • Loading branch information...
1 parent 7832b22 commit f28c6f05b065d925f59485be9a482f0825757e61 ethem committed Apr 5, 2006
Showing with 1 addition and 1 deletion.
  1. +1 −1 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 {

0 comments on commit f28c6f0

Please sign in to comment.