![]() |
Enable Profiler Issue.. - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Enable Profiler Issue.. (/showthread.php?tid=47923) |
Enable Profiler Issue.. - El Forum - 12-28-2011 [eluser]Vaibhav132[/eluser] I am trying to insert the output of the Code: $this->output->enable_profiler(TRUE); I have done following steps for that 1) config.php file $config['enable_hooks'] = TRUE; 2)in hooks folder created hooks/profiler.php Code: function profiler_hook(){ 3)Created my own library called "my_profiler".Copied the below code from libraries\Profiler.php Code: class My_Profiler extends CI_Profiler { The ERROR ! the $output is not written to the file logs/profiler.php It's working for old version. Any Clue, Why it's not working ? |