[solved] CI2 MY_Profiler |
[eluser]kaejiavo[/eluser]
Hi guys, i have a problem using my profiler extension in ci2. MY_Profiler (ci1.7.2) looks like Code: class MY_Profiler extends CI_Profiler { This is not working with ci2 anymore and i can't find any description how to do it correct. Can anyone help me out on this problem? TIA Marco
[eluser]n0xie[/eluser]
Take a look at my Session Profiler Extension for CI2.0. It should answer most of your questions.
[eluser]kaejiavo[/eluser]
hi n0xie, i tried it, but nothing happens. No session section in the profiler output, only the default profiler sections. I have the MY_Profiler.php in application/core but it seems it is not called. For test reasons i changed: Code: function MY_Profiler($config = array()) Marco
[eluser]kaejiavo[/eluser]
ahh, i have found the error. The file has to be in application/libraries to work. This seems a bit irregular to me as you have to know, which classes of ci are core and which are library to extend them correct. Thanks for your help n0xie, you brought me on track to fix this. Marco |
Welcome Guest, Not a member yet? Register Sign In |