[Scummvm-git-logs] scummvm-web master -> e9bca68a02a6c3a0d014f493148e6e3aacef6008

Mataniko mataniko at gmail.com
Fri Sep 25 19:05:26 UTC 2020


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
e9bca68a02 WEB: Further adjustment to cookie


Commit: e9bca68a02a6c3a0d014f493148e6e3aacef6008
    https://github.com/scummvm/scummvm-web/commit/e9bca68a02a6c3a0d014f493148e6e3aacef6008
Author: Mataniko (mataniko at gmail.com)
Date: 2020-09-25T15:05:19-04:00

Commit Message:
WEB: Further adjustment to cookie

Changed paths:
    public_html/index.php


diff --git a/public_html/index.php b/public_html/index.php
index 0e05db7a..94ce5445 100644
--- a/public_html/index.php
+++ b/public_html/index.php
@@ -24,10 +24,9 @@ if (!empty($_GET['lang'])) {
     $cookie_options = array (
       'expires' => time()+86400,
       'path' => '/',
-      'domain' => '.scummvm.org', // leading dot for compatibility or use subdomain
-      'secure' => true,     // or false
-      'httponly' => true,    // or false
-      'samesite' => 'None' // None || Lax  || Strict
+      'domain' => 'www.scummvm.org',
+      'secure' => true,
+      'samesite' => 'None'
       );
     setcookie("lang", $lang, $cookie_options);
 } elseif (!empty($_COOKIE['lang'])) {




More information about the Scummvm-git-logs mailing list