cookie.phtml 662 Bytes
<?php
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
?>
<?php
/**
 * Cookie settings initialization script
 *
 * @var $block \Magento\Framework\View\Element\Js\Cookie
 */
?>

<script type="text/x-magento-init">
    {
        "*": {
            "mage/cookies": {
                "expires": null,
                "path": "<?= /* @escapeNotVerified */ $block->getPath() ?>",
                "domain": "<?= /* @escapeNotVerified */ $block->getDomain() ?>",
                "secure": false,
                "lifetime": "<?= /* @escapeNotVerified */ $block->getLifetime() ?>"
            }
        }
    }
</script>