shared frontend, UserAPI invalidate sessions, bugfixes, stuff
This commit is contained in:
@@ -128,7 +128,6 @@ class CreateDatabase extends DatabaseScript {
|
||||
$method = $reflectionClass->getName() . "::getDefaultACL";
|
||||
$method($query);
|
||||
}
|
||||
|
||||
if ($query->hasRows()) {
|
||||
$queries[] = $query;
|
||||
}
|
||||
|
||||
@@ -107,7 +107,10 @@ class Settings {
|
||||
public static function loadDefaults(): Settings {
|
||||
$hostname = $_SERVER["SERVER_NAME"] ?? null;
|
||||
if (empty($hostname)) {
|
||||
$hostname = "localhost";
|
||||
$hostname = $_SERVER["HTTP_HOST"];
|
||||
if (empty($hostname)) {
|
||||
$hostname = "localhost";
|
||||
}
|
||||
}
|
||||
|
||||
$protocol = getProtocol();
|
||||
|
||||
Reference in New Issue
Block a user