mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
[Dashboard] If environment is set to development then show the debug toolbar
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user