From 9442a120abc8ca75b1aa11d2428afb2aabacb927 Mon Sep 17 00:00:00 2001 From: Roman Hergenreder Date: Fri, 26 Jun 2020 19:38:24 +0200 Subject: [PATCH] http hostname fix --- core/Configuration/Settings.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/Configuration/Settings.class.php b/core/Configuration/Settings.class.php index 2471f93..73f47bd 100644 --- a/core/Configuration/Settings.class.php +++ b/core/Configuration/Settings.class.php @@ -26,7 +26,7 @@ class Settings { } public static function loadDefaults() : Settings { - $hostname = php_uname("n"); + $hostname = $_SERVER["SERVER_NAME"]; $protocol = getProtocol(); $jwt = generateRandomString(32);