How can you enable profiling in a CodeIgniter application?
- $config['enable_profiler'] = TRUE;
- $config['enable_profiler'] = FALSE;
- $this->config->set_item('enable_profiler', TRUE);
- $this->config->set_item('enable_profiler', FALSE);
In CodeIgniter, enabling profiling is done by setting the enable_profiler configuration option to TRUE. It provides a detailed report of the execution of your application, helping in performance analysis.
Loading...
Related Quiz
- The ________ method in CodeIgniter 4 Models allows for custom query building.
- What is the purpose of the 'composer.json' file in a CodeIgniter project?
- To add a custom string to a Query Builder statement without escaping, use the ________ method.
- A developer wants to pass user profile data to a dashboard view in CodeIgniter. The most efficient approach is to use ________.
- In CodeIgniter, which function is commonly used to send JSON responses to client-side requests?