Wuild / TorrentCaching

Opensource torrent caching system
11 stars 9 forks source link

Fix false positive when detecting https. #7

Closed zorchenhimer closed 10 years ago

zorchenhimer commented 10 years ago

PHP is dumb. $_SERVER['HTTPS'] is set to "" (sometimes even "off"!) when using plain old http, and "on" when it's using https.