mirror of
https://github.com/v2board/v2board.git
synced 2025-02-10 15:39:14 +08:00
rules: fix HTTPS variable not set for some servers
Signed-off-by: Beta Soft <betaxab@gmail.com>
This commit is contained in:
parent
2b34f5ec82
commit
55118d7706
@ -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