Traitement cookieConsent

This commit is contained in:
Fred Tempez 2021-11-25 11:06:07 +01:00
parent 7016df5753
commit 8a11ef8118

View File

@ -448,7 +448,6 @@ class config extends common {
'favicon' => $this->getInput('configFavicon'),
'faviconDark' => $this->getInput('configFaviconDark'),
'timezone' => $this->getInput('configTimezone', helper::FILTER_STRING_SHORT, true),
'cookieConsent' => $this->getInput('configCookieConsent', helper::FILTER_BOOLEAN),
'autoUpdate' => $this->getInput('configAutoUpdate', helper::FILTER_BOOLEAN),
'autoUpdateHtaccess' => $this->getInput('configAutoUpdateHtaccess', helper::FILTER_BOOLEAN),
'autoBackup' => $this->getInput('configAutoBackup', helper::FILTER_BOOLEAN),
@ -505,6 +504,7 @@ class config extends common {
'pt' => $this->getData(['config', 'i18n', 'pt'])
],
'cookies' => [
'cookieConsent' => $this->getInput('configCookieConsent', helper::FILTER_BOOLEAN),
'cookiesZwiiText' => $this->getInput('connectCookiesZwiiText', helper::FILTER_STRING_LONG),
'cookiesGaText' => $this->getInput('connectCookiesGaText', helper::FILTER_STRING_LONG),
'cookiesTitleText' => $this->getInput('connectCookiesTitleText', helper::FILTER_STRING_SHORT),