// 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:
+12
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user