From f9abd5d63302eaaf3b491d77b701ec095eaa3fb5 Mon Sep 17 00:00:00 2001 From: Peter Goodhall Date: Sun, 9 Oct 2022 16:47:23 +0100 Subject: [PATCH] [Welcome] Don't include debug data.. --- application/controllers/Welcome.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/controllers/Welcome.php b/application/controllers/Welcome.php index f163f3f8..60212717 100644 --- a/application/controllers/Welcome.php +++ b/application/controllers/Welcome.php @@ -16,10 +16,12 @@ class Welcome extends CI_Controller { // load stations model $this->load->model('stations'); $data['CountAllStationLocations'] = $this->stations->CountAllStationLocations(); - echo $data['CountAllStationLocations']; + + // load logbooks model $this->load->model('logbooks_model'); $data['NumberOfStationLogbooks'] = $this->logbooks_model->CountAllStationLogbooks(); + // load views $this->load->view('interface_assets/header', $data); $this->load->view('welcome/index'); $this->load->view('interface_assets/footer');