// Norm and doc for Shop class
This commit is contained in:
+1
-1
@@ -64,7 +64,7 @@ class CookieCore
|
||||
$this->_content = array();
|
||||
$this->_expire = isset($expire) ? (int)($expire) : (time() + 1728000);
|
||||
$this->_name = md5($name);
|
||||
$this->_path = trim(Context::getContext()->shop->getPhysicalURI().$path, '/\\').'/';
|
||||
$this->_path = trim(Context::getContext()->shop->physical_uri.$path, '/\\').'/';
|
||||
if ($this->_path{0} != '/') $this->_path = '/'.$this->_path;
|
||||
$this->_path = rawurlencode($this->_path);
|
||||
$this->_path = str_replace('%2F', '/', $this->_path);
|
||||
|
||||
Reference in New Issue
Block a user