Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 9th, 2012  |  syntax: None  |  size: 0.25 KB  |  hits: 16  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. ChromePhp make it as global var to work in all my pages
  2. //config.php
  3.     include_once ('ChromePhp.php');
  4.  
  5.     $trace = new ChromePhp();
  6.  
  7.  
  8. //myClass.php
  9.      include_once ('config.php');
  10.      $trace->log("test");
  11.        
  12. $trace = ChromePhp::getInstance();