commit
e60a483bb7
1 changed files with 85 additions and 74 deletions
25
dBug.php
25
dBug.php
|
@ -2,7 +2,7 @@
|
||||||
/*********************************************************************************************************************\
|
/*********************************************************************************************************************\
|
||||||
* LAST UPDATE
|
* LAST UPDATE
|
||||||
* ============
|
* ============
|
||||||
* March 22, 2007
|
* August 6th, 2012
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* AUTHOR
|
* AUTHOR
|
||||||
|
@ -10,6 +10,11 @@
|
||||||
* Kwaku Otchere
|
* Kwaku Otchere
|
||||||
* ospinto@hotmail.com
|
* ospinto@hotmail.com
|
||||||
*
|
*
|
||||||
|
* AFTERMARKET HACKER
|
||||||
|
* ==================
|
||||||
|
* Josh Sherman
|
||||||
|
* josh@crowdsavings.com
|
||||||
|
*
|
||||||
* Thanks to Andrew Hewitt (rudebwoy@hotmail.com) for the idea and suggestion
|
* Thanks to Andrew Hewitt (rudebwoy@hotmail.com) for the idea and suggestion
|
||||||
*
|
*
|
||||||
* All the credit goes to ColdFusion's brilliant cfdump tag
|
* All the credit goes to ColdFusion's brilliant cfdump tag
|
||||||
|
@ -371,9 +376,9 @@ class dBug {
|
||||||
//parse xml
|
//parse xml
|
||||||
function xmlParse($xml_parser,$data,$bFinal) {
|
function xmlParse($xml_parser,$data,$bFinal) {
|
||||||
if (!xml_parse($xml_parser,$data,$bFinal)) {
|
if (!xml_parse($xml_parser,$data,$bFinal)) {
|
||||||
die(sprintf("XML error: %s at line %d\n",
|
die(sprintf("XML error: %s at line %d\n",
|
||||||
xml_error_string(xml_get_error_code($xml_parser)),
|
xml_error_string(xml_get_error_code($xml_parser)),
|
||||||
xml_get_current_line_number($xml_parser)));
|
xml_get_current_line_number($xml_parser)));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -478,9 +483,15 @@ class dBug {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style type="text/css">
|
<style type="text/css">
|
||||||
table.dBug_array,table.dBug_object,table.dBug_resource,table.dBug_resourceC,table.dBug_xml {
|
table.dBug_array,table.dBug_object,table.dBug_resource,table.dBug_resourceC,table.dBug_xml
|
||||||
font-family:Verdana, Arial, Helvetica, sans-serif; color:#000000; font-size:12px;
|
{ font-family:Verdana, Arial, Helvetica, sans-serif; color:#000000; font-size:12px; border-spacing:2px; display:table; border-collapse:separate; }
|
||||||
}
|
|
||||||
|
table.dBug_array td,
|
||||||
|
table.dBug_object td,
|
||||||
|
table.dBug_resource td,
|
||||||
|
table.dBug_resourceC td,
|
||||||
|
table.dBug_xml td
|
||||||
|
{ line-height:1.3; padding:3px; vertical-align:top; }
|
||||||
|
|
||||||
.dBug_arrayHeader,
|
.dBug_arrayHeader,
|
||||||
.dBug_objectHeader,
|
.dBug_objectHeader,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue