Dump du debug un peu plus joli

This commit is contained in:
Alan Garcia 2013-01-30 10:56:17 +00:00
parent 6e4602431a
commit 01e220f6ce
1 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ class m_debug_alternc {
if ( $cuid!=2000 ) return false; if ( $cuid!=2000 ) return false;
if ( ! $this->status ) return false; if ( ! $this->status ) return false;
echo "<div style='background-color: grey;'>"; echo "<fieldset style='background-color: silver;'>";
echo "<pre>"; echo "<pre>";
echo "+++ BEGIN Debug Mode+++\n\n"; echo "+++ BEGIN Debug Mode+++\n\n";
print_r("\n--- Total SQL Query : ".$this->nb_sql_query." ---\n"); print_r("\n--- Total SQL Query : ".$this->nb_sql_query." ---\n");
@ -76,7 +76,7 @@ class m_debug_alternc {
print_r($_SERVER); print_r($_SERVER);
echo "\n\n+++ END Debug Mode+++"; echo "\n\n+++ END Debug Mode+++";
echo "</pre>"; echo "</pre>";
echo "</div>"; echo "</fieldset>";
return true; return true;
} }