On Mon, 22 Jan 2007, Patrick R. Michaud wrote:
Note that PmWiki version 2.2.0-beta18 and later automatically detect
https: and use it accordingly. So, with 2.2.0 you can do:
if ($UrlScheme != 'https:') {
$ScriptUrl = str_replace($UrlScheme, 'https:', $ScriptUrl);
if ([EMAIL PROTECTED]) { header("Location: $ScriptUrl"); exit; }
Redirect($pagename);
}
Could you explain the purpose of this code?
/Christian
--
Christian Ridderström, +46-8-768 39 44 http://www.md.kth.se/~chr
_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users