diff options
author | Derek Allard <derek.allard@ellislab.com> | 2008-10-17 17:42:32 +0200 |
---|---|---|
committer | Derek Allard <derek.allard@ellislab.com> | 2008-10-17 17:42:32 +0200 |
commit | 344a34cd09f3d3153c6e7faec67ba443f5fa822d (patch) | |
tree | 6c8b0efde80bbb7fa19828187911041853ba5c67 /system/libraries/Profiler.php | |
parent | 0fcb7e6070d2975955a8b14229abe36a5873a5ec (diff) |
re-implementing profiler output
Diffstat (limited to 'system/libraries/Profiler.php')
-rw-r--r-- | system/libraries/Profiler.php | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/system/libraries/Profiler.php b/system/libraries/Profiler.php index 980cf09cc..b0241b241 100644 --- a/system/libraries/Profiler.php +++ b/system/libraries/Profiler.php @@ -364,20 +364,19 @@ class CI_Profiler { * @return string
*/
function run()
- {
- $output = '<br clear="all" />';
- $output .= "<div style='background-color:#fff;padding:10px;'>";
+ {
+ $output .= "<div id='codeigniter_profiler' style='clear:both;background-color:#fff;padding:10px;'>";
$output .= $this->_compile_uri_string();
$output .= $this->_compile_controller_info();
$output .= $this->_compile_memory_usage();
- $output .= $this->_compile_benchmarks();
+ $output .= $this->_compile_benchmarks();
$output .= $this->_compile_get();
$output .= $this->_compile_post();
$output .= $this->_compile_queries();
-
+
$output .= '</div>';
-
+
return $output;
}
|