diff --git a/upload/catalog/controller/common/header.php b/upload/catalog/controller/common/header.php index 7d805e9..515dda6 100644 --- a/upload/catalog/controller/common/header.php +++ b/upload/catalog/controller/common/header.php @@ -53,7 +53,6 @@ public function index() { $this->load->language('common/header'); - $host = isset($this->request->server['HTTPS']) && (($this->request->server['HTTPS'] == 'on') || ($this->request->server['HTTPS'] == '1')) ? HTTPS_SERVER : HTTP_SERVER; if ($this->request->server['REQUEST_URI'] == '/') { $data['og_url'] = $this->url->link('common/home'); @@ -91,12 +90,13 @@ public function index() { $data['language'] = $this->load->controller('common/language'); $data['currency'] = $this->load->controller('common/currency'); - $data['currency'] = $this->load->controller('common/currency'); + if ($this->config->get('configblog_blog_menu')) { $data['blog_menu'] = $this->load->controller('blog/menu'); } else { $data['blog_menu'] = ''; } + $data['search'] = $this->load->controller('common/search'); $data['cart'] = $this->load->controller('common/cart'); $data['menu'] = $this->load->controller('common/menu');