[Logbook] Added Debug info if in development mode

This commit is contained in:
Peter Goodhall
2022-02-19 21:19:13 +00:00
parent b94eb1909b
commit 95121e2eb3

View File

@@ -27,6 +27,11 @@ class Logbook extends CI_Controller {
redirect('user/login');
}
// If environment is set to development then show the debug toolbar
if(ENVIRONMENT == 'development') {
$this->output->enable_profiler(TRUE);
}
$this->load->model('logbook_model');
$this->load->library('pagination');