title: ChromePhp make it as global var to work in all my pages
body: <p><a href="http://www.chromephp.com/" rel="nofollow">ChromePHP</a> is a php class that allow you to do php logs in javascript console.</p>
  
  <p>i have installed the chrome extention ChromePHP, it's activated</p>
  
  <p>i was trying to do this:</p>
  
  <p><strong>config.php</strong>:</p>
  
  <pre><code>    include_once ('ChromePhp.php');
  
      $trace = new ChromePhp();
  </code></pre>
  
  <p><strong>myClass.php</strong>:</p>
  
  <pre><code>     include_once ('config.php');
       $trace-&gt;log("test");
  </code></pre>
  
  <p>but it's not working some help please</p>
  
  <p>i get :<code>** Fatal error: Call to private ChromePhp::__construct() from invalid context in C:\wamp\www\partenariat\autres\config.php on line 11**</code></p>