forked from GNUsocial/gnu-social
fix notice on non-https views
This commit is contained in:
parent
671712f0f6
commit
edf8990aa9
|
@ -377,7 +377,7 @@ class StatusNet
|
||||||
static function isHTTPS()
|
static function isHTTPS()
|
||||||
{
|
{
|
||||||
// There are some exceptions to this; add them here!
|
// There are some exceptions to this; add them here!
|
||||||
return $_SERVER['HTTPS'];
|
return !empty($_SERVER['HTTPS']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue