mirror of
https://github.com/v2board/v2board.git
synced 2025-02-11 07:59:11 +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
|
// Subscription link
|
||||||
$subsURL = 'http';
|
$subsURL = 'http';
|
||||||
if ($_SERVER['HTTPS'] == 'on') {
|
if (isset( $_SERVER['HTTPS'] ) && strtolower( $_SERVER['HTTPS'] ) == 'on') {
|
||||||
$subsURL .= 's';
|
$subsURL .= 's';
|
||||||
}
|
}
|
||||||
$subsURL .= '://';
|
$subsURL .= '://';
|
||||||
|
Loading…
Reference in New Issue
Block a user