Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Pipeline #5098 passed
......@@ -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))) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment