syntax error, unexpected token "{"
at line 80 in file classes/Cookie.php
75. $this->_content = [];
76. $this->_standalone = $standalone;
77. $this->_expire = is_null($expire) ? time() + 1728000 : (int) $expire;
78.
79. $this->_path = trim(($this->_standalone ? '' : Context::getContext()->shop->physical_uri).$path, '/\\').'/';
80. if ($this->_path{0} != '/') {
81. $this->_path = '/'.$this->_path;
82. }
83. $this->_path = rawurlencode($this->_path);
84. $this->_path = str_replace('%2F', '/', $this->_path);
85. $this->_path = str_replace('%7E', '~', $this->_path);
175. $domains = null;
176. if ($context->shop->domain != $context->shop->domain_ssl) {
177. $domains = [$context->shop->domain_ssl, $context->shop->domain];
178. }
179.
180. $cookie = new Cookie('ps-s'.$context->shop->id, '', $cookie_lifetime, $domains, false, $force_ssl);
181. }
182. }
183.
184. $context->cookie = $cookie;
185.
Argument [0] Cookie
27. * @copyright 2007-2016 PrestaShop SA
28. * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
29. * PrestaShop is an internationally registered trademark & property of PrestaShop SA
30. */
31.
32. require(dirname(__FILE__).'/config/config.inc.php');
33. Dispatcher::getInstance()->dispatch();
Argument [0] /var/www/web-infusion.dk/old-tb/config/config.inc.php