From f82ab3313655bdcae40f0a5c453bb8f33a4eca28 Mon Sep 17 00:00:00 2001 From: HB9HIL Date: Sun, 12 Nov 2023 15:34:18 +0100 Subject: [PATCH] loading MigrationVersion Model --- application/controllers/Debug.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/application/controllers/Debug.php b/application/controllers/Debug.php index cca65943a..75bddc0ff 100644 --- a/application/controllers/Debug.php +++ b/application/controllers/Debug.php @@ -14,6 +14,10 @@ class Debug extends CI_Controller { { $this->load->helper('file'); + $this->load->model('MigrationVersion'); + + $data['migration_version'] = $this->MigrationVersion->getMigrationVersion(); + // Test writing to backup folder $backup_folder = $this->is_really_writable('backup'); $data['backup_folder'] = $backup_folder; @@ -29,7 +33,7 @@ class Debug extends CI_Controller { $data['page_title'] = "Debug"; $this->load->view('interface_assets/header', $data); - $this->load->view('debug/main'); + $this->load->view('debug/main', $data); $this->load->view('interface_assets/footer'); }