Welcome Guest, Not a member yet? Register   Sign In
ChromePHP (like FirePHP for Chrome) library?
#1

[eluser]mikedfunk[/eluser]
I was trying to make ChromePHP work as a library but it's not working. It's a class with methods like any other library. First it gave an error saying the construct was being called by the loader class but is set to private. So I changed that to public. I tried
Code:
$this->load->library('ChromePhp');
$this->ChromePhp->log('test');
and it told me ChromePhp isn't set. Any ideas? The file name and class name are both ChromePhp.
#2

[eluser]danmontgomery[/eluser]
Code:
$this->chromephp->log('test');
#3

[eluser]mikedfunk[/eluser]
ah that works, thanks! Smile




Theme © iAndrew 2016 - Forum software by © MyBB