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