Changeset 1684 for trunk/system/libraries/Profiler.php
- Timestamp:
- 01/06/2008 02:31:17 AM (11 months ago)
- Files:
-
- 1 modified
-
trunk/system/libraries/Profiler.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/system/libraries/Profiler.php
r1522 r1684 78 78 } 79 79 80 if (Config::item('profiler.cookie')) 81 { 82 $data['cookie'] = TRUE; 83 } 84 80 85 // Load the profiler view 81 86 $view = new View('kohana_profiler', $data); 82 87 83 88 // Return rendered view if $return is TRUE 84 89 if ($return == TRUE) … … 89 94 { 90 95 // Closing body tag was found, insert the profiler data before it 91 Kohana::$output = str_ replace('</body>', $view->render().'</body>', Kohana::$output);96 Kohana::$output = str_ireplace('</body>', $view->render().'</body>', Kohana::$output); 92 97 } 93 98 else
