diff --git a/resources/DirectoryLister.php b/resources/DirectoryLister.php index 72632d8..4f8ac4f 100644 --- a/resources/DirectoryLister.php +++ b/resources/DirectoryLister.php @@ -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://';