×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: PHP
Posted by: mauro larese
Added: Jun 1, 2015 1:37 PM
Views: 2095
Tags: debug
  1. <?
  2.     $mmip = MM::IP();
  3.     $firephpInstance=null;
  4.  
  5.     function firebug($firephpInstance,$obj){
  6.         if(!isset($firephpInstance)) return;
  7.         $firephpInstance->info($obj);
  8.     }
  9.     if($mmip) {
  10.         @require_once('../../backend/fphp03/FirePHP.class.php');
  11.         @$firephpInstance = FirePHP::getInstance(true);
  12.         @$firephpInstance->setEnabled(true);
  13.     }
  14. ?>
  15.