mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
Merge pull request #162 from betaxab/patch-1
rules: fix HTTPS variable not set for some servers
This commit is contained in:
commit
7770bf6b99
@ -124,7 +124,7 @@ class ClientController extends Controller
|
||||
|
||||
// Subscription link
|
||||
$subsURL = 'http';
|
||||
if ($_SERVER['HTTPS'] == 'on') {
|
||||
if (isset( $_SERVER['HTTPS'] ) && strtolower( $_SERVER['HTTPS'] ) == 'on') {
|
||||
$subsURL .= 's';
|
||||
}
|
||||
$subsURL .= '://';
|
||||
|
Loading…
Reference in New Issue
Block a user