mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 09:21:46 +08:00 
			
		
		
		
	rules: fix HTTPS variable not set for some servers
Signed-off-by: Beta Soft <betaxab@gmail.com>
This commit is contained in:
		| @@ -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 .= '://'; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user