From 7451f643afa71ffbb66e96a7d6d6b0a8b4f989b2 Mon Sep 17 00:00:00 2001 From: Juan Ferrer Toribio Date: Fri, 11 Nov 2022 15:40:07 +0100 Subject: [PATCH] refs #3971 Version cookie fixes --- debian/changelog | 2 +- package.json | 2 +- web/html-service.php | 2 +- web/service.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7364c6b1..35c01448 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (22.44.4) stable; urgency=low +hedera-web (22.44.5) stable; urgency=low * Initial Release. diff --git a/package.json b/package.json index 240b63d0..db41bf1a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "22.44.4", + "version": "22.44.5", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": { diff --git a/web/html-service.php b/web/html-service.php index 94a05f39..041ebd21 100644 --- a/web/html-service.php +++ b/web/html-service.php @@ -69,7 +69,7 @@ class HtmlService extends Service { $domain = explode(':', $_SERVER['HTTP_HOST'])[0]; setcookie('vnVersion', $this->getVersion()->toString(), [ //'samesite' => 'Lax', - 'domain' => $domain + //'domain' => $domain ]); // Loading the requested page diff --git a/web/service.php b/web/service.php index b1f78da8..3c223174 100644 --- a/web/service.php +++ b/web/service.php @@ -128,7 +128,7 @@ abstract class Service { setcookie('vnVisit', $row['visit'], [ 'expires' => time() + 31536000, // 1 Year //'samesite' => 'Lax', - 'domain' => $domain + //'domain' => $domain ]); $_SESSION['access'] = $row['access']; } else