Commit b9601ad5 authored by Carsten  Rose's avatar Carsten Rose
Browse files

Auf w20 (Ubuntu 20.04, PHP 7.4) war 'host' leer. Keine Ahnung wie das passieren konnte.

parent ad23a286
Pipeline #5098 passed with stages
in 5 minutes and 18 seconds
......@@ -41,8 +41,8 @@ class SessionCookie {
$this->cleanTempFiles = !Support::findInSet(SYSTEM_SHOW_DEBUG_INFO_DOWNLOAD, $config[SYSTEM_SHOW_DEBUG_INFO]);
$urlParts = parse_url($config[SYSTEM_BASE_URL]);
$domain = $urlParts['host'];
$path = $urlParts['path'];
$domain = $urlParts['host'] ?? 'missing';
$path = $urlParts['path'] ?? 'missing';
// $_COOKIES[]
if (false === ($this->pathFileNameCookie = tempnam(sys_get_temp_dir(), SESSION_COOKIE_PREFIX))) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment