Commit 16211ad3dfb8c6c28cdfca25655adc0bb45e1a86

Authored by Dima
1 parent e76d7b5f

fix

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/app/frontend/views/basket_ua.php
... ... @@ -400,7 +400,7 @@ $why = array("Ð•ÐºÐ¾Ð½Ð¾Ð¼Ñ–Ñ Ð´Ð¾ 17%","Практичний подаруноÐ
400 400 $token = null;
401 401 if(!isset($_COOKIE['token'])) {
402 402 $token = md5(uniqid($_SERVER['REMOTE_ADDR'], true));
403   - setcookie('token', $token, time() + 60 * 60 * 24 * 7);
  403 + setcookie('token', $token, time() + 60 * 60 * 24 * 7, "/");
404 404 }
405 405 else
406 406 $token = $_COOKIE['token'];
... ... @@ -929,4 +929,4 @@ $pbKey = 'ssdfs5df';
929 929 <script src="/dist/js/cart.js"></script>
930 930  
931 931 </body>
932   -</html>
  932 +</html>
933 933 \ No newline at end of file
... ...