// Norm and doc for Shop class

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@15756 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-05-30 09:50:10 +00:00
parent 04985181e3
commit 0857f92f7a
4 changed files with 107 additions and 46 deletions
+1 -1
View File
@@ -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);