// Fix shop selection in BO

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8083 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2011-08-17 08:59:04 +00:00
parent 2b05b5308c
commit 751ae5d740
2 changed files with 14 additions and 3 deletions
+12 -1
View File
@@ -258,7 +258,6 @@ class ShopCore extends ObjectModel
}
/**
*
* Get shop URI
*
* @return string
@@ -272,6 +271,18 @@ class ShopCore extends ObjectModel
{
return $this->physical_uri;
}
/**
* Get shop URL
*
* @return string
*/
public function getBaseURL()
{
if (!$this->domain)
return false;
return 'http://'.$this->domain.$this->physical_uri.$this->virtual_uri;
}
/**
* Get group of current shop