Add HttpOnly, Secure, and Samesite session settings to config.conf (#7547)

* Add HttpOnly, Secure, and Samesite session settings to config.conf

* Update upgrade_menu.php

* Update upgrade.php

* Update upgrade.php

* Update install.php
This commit is contained in:
Alex
2025-10-03 15:06:47 -07:00
committed by GitHub
parent f97e08d418
commit e53199fd28
4 changed files with 19 additions and 5 deletions

View File

@@ -128,6 +128,11 @@
$conf .= "php.dir = ".$php_dir."\n";
$conf .= "php.bin = php\n";
$conf .= "\n";
$conf .= "#session settings\n";
$conf .= "session.cookie_httponly = true\n";
$conf .= "session.cookie_secure = true\n";
$conf .= "session.cookie_samesite = Lax\n";
$conf .= "\n";
$conf .= "#cache settings\n";
$conf .= "cache.method = file\n";
$conf .= "cache.location = ".$cache_location."\n";