diff options
author | Chris Passas <cpassas@gmail.com> | 2013-02-12 22:58:38 +0100 |
---|---|---|
committer | Chris Passas <cpassas@gmail.com> | 2013-02-15 21:03:28 +0100 |
commit | ce6f43b7120a184aa0cff0bdb90fa3d7f032e14b (patch) | |
tree | 9a0c9602b45f0f25c4ee0363dca11defc3bb9090 /system/database | |
parent | 8d8636778ac600176772c4d54321a1e0842e5b07 (diff) |
Update system/core/Common.php
If using nginx instead of apache by default nginx will not populate the $_SERVER['HTTPS'] value. This change allows falling back to checking the port number of the request to determine if your on SSL or not.
The other option is adding the following to your nginx config.
fastcgi_param HTTPS on; #some php apps require this to detent https
Diffstat (limited to 'system/database')
0 files changed, 0 insertions, 0 deletions