Skip to content
Snippets Groups Projects
Unverified Commit fb00c067 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Domain must be a string

parent ed349fe9
Branches
Tags
No related merge requests found
...@@ -417,7 +417,7 @@ class Language ...@@ -417,7 +417,7 @@ class Language
$name = $config->getString('language.cookie.name', 'language'); $name = $config->getString('language.cookie.name', 'language');
$params = [ $params = [
'lifetime' => ($config->getInteger('language.cookie.lifetime', 60 * 60 * 24 * 900)), 'lifetime' => ($config->getInteger('language.cookie.lifetime', 60 * 60 * 24 * 900)),
'domain' => ($config->getString('language.cookie.domain', null)), 'domain' => ($config->getString('language.cookie.domain', '')),
'path' => ($config->getString('language.cookie.path', '/')), 'path' => ($config->getString('language.cookie.path', '/')),
'secure' => ($config->getBoolean('language.cookie.secure', false)), 'secure' => ($config->getBoolean('language.cookie.secure', false)),
'httponly' => ($config->getBoolean('language.cookie.httponly', false)), 'httponly' => ($config->getBoolean('language.cookie.httponly', false)),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment