[Dashboard] If environment is set to development then show the debug toolbar

This commit is contained in:
Peter Goodhall
2022-02-16 16:14:38 +00:00
parent 6d87c1bb8d
commit f717d8820c

View File

@@ -4,7 +4,10 @@ class Dashboard extends CI_Controller {
public function index()
{
// If environment is set to development then show the debug toolbar
if(ENVIRONMENT == 'development') {
$this->output->enable_profiler(TRUE);
}
// Check our version and run any migrations
$this->load->library('Migration');