mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[Logbook] Added Debug info if in development mode
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user