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'); }