mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-09-02 02:12:37 +02:00
Merge pull request #88 from insink71/patch-2
Make sure HTTPS is not set to off
This commit is contained in:
@@ -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://';
|
||||
|
Reference in New Issue
Block a user