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