summaryrefslogtreecommitdiff
path: root/src/web/_controller/apps/error.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/web/_controller/apps/error.php (renamed from web/_controller/apps/error.php)3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/_controller/apps/error.php b/src/web/_controller/apps/error.php
index 5ce9ec4..03bbd8d 100644
--- a/web/_controller/apps/error.php
+++ b/src/web/_controller/apps/error.php
@@ -8,11 +8,12 @@ class Error_controller extends Controller {
$this->error_model = $this->load->model('apps/error');
}
- public function index() {
+ public function index(): void {
parent::index();
$data = $this->error_model->get_data();
$this->view('header', $data);
$this->view('apps/error/main', $data);
+ $this->view('footer', $data);
}
}