| Issue 36: | $_SERVER['HTTPS']=='off' on IIS | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Hi,
I'm testing lightopenid on PHP as FastCGI on Microsoft IIS 5.1 setup.
In this environment I have $_SERVER['HTTPS']=='off'.
To make LightOpenId working I've modified first line in constructor:
function __construct()
{
$this->trustRoot = ((!empty($_SERVER['HTTPS']) && ($_SERVER['HTTPS']!='off')) ? 'https' : 'http') . '://' . $_SERVER['HTTP_HOST'];
...
I'm not sure if IIS is popular, but maybe one additional condition could be added to support this platform...
Best regards,
Seba.
Apr 19, 2011
Project Member
#1
mewp...@gmail.com
Status:
Invalid
|