Merge pull request #88 from insink71/patch-2

Make sure HTTPS is not set to off
This commit is contained in:
Chris Kankiewicz
2015-08-06 14:24:10 -07:00

View File

@@ -684,7 +684,7 @@ class DirectoryLister {
protected function _getAppUrl() {
// Get the server protocol
if (!empty($_SERVER['HTTPS'])) {
if (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS']!=="off") {
$protocol = 'https://';
} else {
$protocol = 'http://';