information de debug style


/ Published in: CSS
Save to your folder(s)

//////////////////////////////////////////////////////////
function debug($ch,$force=false) {
global $debugphp,$iphost,$ch_debug;

$ip=getenv('REMOTE_ADDR');

if ((($debugphp==true)||($force==true))&&(in_array($ip, $iphost))) {
ob_start();
var_dump($ch);
$dump=ob_get_clean();
$ch_debug.=$dump."\n";
}
}

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.