Welcome Guest, Not a member yet? Register   Sign In
Bonfire Profiler
#1

is there a way to use CI-Bonfire Profiler on a clean Codeigniter 3.0 installation for debugging purposes?

have anyone try to do this?

thanks
Reply
#2

Here's a standalone version of the profiler. This should work with CI 3 since it what I used to build into Sprint, but if it's causing issues, let me know and I'll update it.
Reply
#3

Great ! it works fine! thank you kilishan
Reply
#4

is there a way to set $this->output->enable_profiler(TRUE); globally among any controller so i can see in any module i create the profiler?
Reply
#5

would it be a good idea to create a hook for it with the post_controller_constructor ?
Reply
#6

(09-05-2015, 07:56 AM)poseso Wrote: is there a way to set $this->output->enable_profiler(TRUE); globally among any controller so i can see in any module i create the profiler?

(09-05-2015, 08:45 AM)poseso Wrote: would it be a good idea to create a hook for it with the post_controller_constructor ?

No need to create a hook. I use a MY_Controller to base everything off of. In there, you can globally turn it on or off. I've actually got a config setting that tells whether to do it globally or not, which is checked in the MY_Controller's constructor and set accordingly. You can also, have a class property that allows you to override it per controller, but that's usually overkill.
Reply
#7

ah ok thanks!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB