Changeset 2687
- Timestamp:
- 05/22/2008 06:48:44 PM (5 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Profiler.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Profiler.php
r2686 r2687 23 23 public function __construct() 24 24 { 25 // Add all built in profiles to event 26 Event::add('profiler.run', array($this, 'benchmarks')); 27 Event::add('profiler.run', array($this, 'database')); 28 Event::add('profiler.run', array($this, 'session')); 29 Event::add('profiler.run', array($this, 'post')); 30 Event::add('profiler.run', array($this, 'cookies')); 31 25 32 // Add profiler to page output automatically 26 33 Event::add('system.display', array($this, 'render')); … … 77 84 78 85 Event::run('profiler.run'); 79 80 $this->benchmarks();81 $this->database();82 $this->session();83 $this->post();84 $this->cookies();85 86 86 87 $styles = '';
