|
...
|
...
|
@@ -545,7 +545,7 @@ class BTemplateLogic extends BaseLogic |
|
|
|
public function homeOrProduct($source,$source_id = 0,$is_custom = 0){
|
|
|
|
if($is_custom == 0){
|
|
|
|
if($source == BTemplate::SOURCE_HOME){
|
|
|
|
$route = RouteMap::setRoute('index', RouteMap::SOURCE_PAGE, 0, $this->user['project_id']);
|
|
|
|
RouteMap::setRoute('index', RouteMap::SOURCE_PAGE, 0, $this->user['project_id']);
|
|
|
|
$type = RouteMap::SOURCE_PAGE;
|
|
|
|
}elseif($source == BTemplate::SOURCE_PRODUCT){
|
|
|
|
$type = RouteMap::SOURCE_PRODUCT;
|
...
|
...
|
|