27 lines
905 B
PHP
27 lines
905 B
PHP
<?php
|
|
class ControllerErrorNotFound extends Controller {
|
|
public function index() {
|
|
$this->load->language('error/not_found');
|
|
|
|
$this->document->setTitle($this->language->get('heading_title'));
|
|
|
|
$data['breadcrumbs'] = array();
|
|
|
|
$data['breadcrumbs'][] = array(
|
|
'text' => $this->language->get('text_home'),
|
|
'href' => $this->url->link('common/dashboard', 'user_token=' . $this->session->data['user_token'], true)
|
|
);
|
|
|
|
$data['breadcrumbs'][] = array(
|
|
'text' => $this->language->get('heading_title'),
|
|
'href' => $this->url->link('error/not_found', 'user_token=' . $this->session->data['user_token'], true)
|
|
);
|
|
|
|
$data['header'] = $this->load->controller('common/header');
|
|
$data['column_left'] = $this->load->controller('common/column_left');
|
|
$data['footer'] = $this->load->controller('common/footer');
|
|
|
|
$this->response->setOutput($this->load->view('error/not_found', $data));
|
|
}
|
|
}
|