This commit is contained in:
parent
7451f643af
commit
7b6b50e27e
|
@ -1,4 +1,4 @@
|
|||
hedera-web (22.44.5) stable; urgency=low
|
||||
hedera-web (22.44.6) stable; urgency=low
|
||||
|
||||
* Initial Release.
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "hedera-web",
|
||||
"version": "22.44.5",
|
||||
"version": "22.44.6",
|
||||
"description": "Verdnatura web page",
|
||||
"license": "GPL-3.0",
|
||||
"repository": {
|
||||
|
|
|
@ -68,8 +68,8 @@ class HtmlService extends Service {
|
|||
|
||||
$domain = explode(':', $_SERVER['HTTP_HOST'])[0];
|
||||
setcookie('vnVersion', $this->getVersion()->toString(), [
|
||||
//'samesite' => 'Lax',
|
||||
//'domain' => $domain
|
||||
'samesite' => 'Lax',
|
||||
'domain' => $domain
|
||||
]);
|
||||
|
||||
// Loading the requested page
|
||||
|
|
|
@ -18,7 +18,7 @@ class JsonService extends RestService {
|
|||
|
||||
$this->init();
|
||||
$this->startSession();
|
||||
$this->checkVersion();
|
||||
//$this->checkVersion();
|
||||
|
||||
$json = $this->loadMethod(__NAMESPACE__.'\JsonRequest');
|
||||
$this->replyJson($json);
|
||||
|
|
|
@ -127,8 +127,8 @@ abstract class Service {
|
|||
$domain = explode(':', $_SERVER['HTTP_HOST'])[0];
|
||||
setcookie('vnVisit', $row['visit'], [
|
||||
'expires' => time() + 31536000, // 1 Year
|
||||
//'samesite' => 'Lax',
|
||||
//'domain' => $domain
|
||||
'samesite' => 'Lax',
|
||||
'domain' => $domain
|
||||
]);
|
||||
$_SESSION['access'] = $row['access'];
|
||||
} else
|
||||
|
|
Loading…
Reference in New Issue