Linux altar53.supremepanel53.com 4.18.0-553.8.1.lve.el8.x86_64 #1 SMP Thu Jul 4 16:24:39 UTC 2024 x86_64
/ home/ bdapparelinfo/ dhakazone.com/ catalog/ controller/ common/ |
|
<?php class ControllerCommonMaintenance extends Controller { public function index() { $this->load->language('common/maintenance'); $this->document->setTitle($this->language->get('heading_title')); if ($this->request->server['SERVER_PROTOCOL'] == 'HTTP/1.1') { $this->response->addHeader('HTTP/1.1 503 Service Unavailable'); } else { $this->response->addHeader('HTTP/1.0 503 Service Unavailable'); } $this->response->addHeader('Retry-After: 3600'); $data['breadcrumbs'] = array(); $data['breadcrumbs'][] = array( 'text' => $this->language->get('text_maintenance'), 'href' => $this->url->link('common/maintenance') ); $data['message'] = $this->language->get('text_message'); $data['header'] = $this->load->controller('common/header'); $data['footer'] = $this->load->controller('common/footer'); $this->response->setOutput($this->load->view('common/maintenance', $data)); } }