mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user