| Current Path : /home/rtorresani/www/vendor/magento/module-theme/view/frontend/templates/js/ |
| Current File : //home/rtorresani/www/vendor/magento/module-theme/view/frontend/templates/js/cookie.phtml |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
/**
* Cookie settings initialization script
*
* @var $block \Magento\Framework\View\Element\Js\Cookie
*/
?>
<script type="text/x-magento-init">
{
"*": {
"mage/cookies": {
"expires": null,
"path": "<?= $block->escapeJs($block->getPath()) ?>",
"domain": "<?= $block->escapeJs($block->getDomain()) ?>",
"secure": <?= $block->getSessionConfig()->getCookieSecure() ? 'true' : 'false'; ?>,
"lifetime": "<?= $block->escapeJs($block->getLifetime()) ?>"
}
}
}
</script>