2005-03-27
kjk
And the patch for that is:
C:\\kjk\\src\\ext\\dokuwiki>darcs diff -u
diff -rN -u old-dokuwiki\\inc\\init.php new-dokuwiki\\inc\\init.php
--- old-dokuwiki\\inc\\init.php Sat Mar 26 15:24:07 2005
+++ new-dokuwiki\\inc\\init.php Sat Mar 26 22:07:48 2005
@@ -107,7 +107,7 @@
// see if HTTPS is enabled - apache leaves this empty when not available,
// IIS sets it to 'off', 'false' and 'disabled' are just guessing
- if (preg_match('/^(|off|false|disabled)$/i',$_SERVER['HTTPS'])){
+ if (!isset($_SERVER['HTTPS']) || preg_match('/^(|off|false|disabled)$/i',$_SERVER['HTTPS'])){
$proto = 'http://';
if ($_SERVER['SERVER_PORT'] == '80') {
$port='';