summaryrefslogtreecommitdiffstats
path: root/user_guide_src/source/general/profiling.rst
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2011-10-06 00:22:53 +0200
committerDerek Jones <derek.jones@ellislab.com>2011-10-06 00:22:53 +0200
commita1360ef24fff8b57353db32ad6045969af28e5d5 (patch)
tree6646e2ccd20a75af67adbb4c8fe1d53d4c6c5ff1 /user_guide_src/source/general/profiling.rst
parent129c181c99848ae14c7edbbaeb7d0bf78ac2db55 (diff)
fixing code spacing in Profiling, Models, Managing Apps, Hooks, and Helpers general docs
Diffstat (limited to 'user_guide_src/source/general/profiling.rst')
-rw-r--r--user_guide_src/source/general/profiling.rst10
1 files changed, 8 insertions, 2 deletions
diff --git a/user_guide_src/source/general/profiling.rst b/user_guide_src/source/general/profiling.rst
index 60ef585ef..28c1dd7b8 100644
--- a/user_guide_src/source/general/profiling.rst
+++ b/user_guide_src/source/general/profiling.rst
@@ -48,13 +48,19 @@ application/config/profiler.php config file.
::
- $config['config']          = FALSE; $config['queries']         = FALSE;
+ $config['config'] = FALSE;
+ $config['queries'] = FALSE;
In your controllers, you can override the defaults and config file
values by calling the set_profiler_sections() method of the :doc:`Output
class <../libraries/output>`::
- $sections = array(     'config'  => TRUE,     'queries' => TRUE     ); $this->output->set_profiler_sections($sections);
+ $sections = array(
+ 'config' => TRUE,
+ 'queries' => TRUE
+ );
+
+ $this->output->set_profiler_sections($sections);
Available sections and the array key used to access them are described
in the table below.