Fixed issue with cookies
This commit is contained in:
parent
5888e2cdfb
commit
38fa75402b
3 changed files with 7 additions and 3 deletions
|
|
@ -16,6 +16,6 @@ class Settings {
|
|||
}
|
||||
|
||||
static public function set(string $name, string $value) {
|
||||
setcookie($name, $value, time()+60*60*24*30, '', '', true, true);
|
||||
setcookie($name, $value, time()+60*60*24*30, Misc::getSubDir(), '', isset($_SERVER['HTTPS']), true);
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue