diff options
Diffstat (limited to 'application/core')
-rw-r--r-- | application/core/MY_Controller.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/application/core/MY_Controller.php b/application/core/MY_Controller.php index 008c48dec..b3a561032 100644 --- a/application/core/MY_Controller.php +++ b/application/core/MY_Controller.php @@ -92,6 +92,10 @@ class MY_Controller extends CI_Controller { $this->security->csrf_verify(); } + if ($this->config->item("environment") == "development" && static_storage("response_type") != "json") { + $this->output->enable_profiler(true); + } + $this->data['title'] = "FileBin"; } } |