Update of /cvsroot/easymod/easymod2/mods/easymod/em_includes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2555/em_includes
Modified Files:
em_functions.php
Log Message:
A couple more fixes.
Index: em_functions.php
===================================================================
RCS file: /cvsroot/easymod/easymod2/mods/easymod/em_includes/em_functions.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** em_functions.php 31 Oct 2005 17:57:15 -0000 1.17
--- em_functions.php 2 Nov 2005 05:51:56 -0000 1.18
***************
*** 1318,1331 ****
// used only for debugging purposes only
! /*
! function em_vd($mixed, $title = '')
{
! ob_start();
! var_dump($mixed);
! $content = ob_get_contents();
! ob_end_clean();
! echo '<pre>' . ( !empty($title) ? ($title . ': ') : '' ) . htmlspecialchars($content) . "</pre>\n";
}
- */
?>
\ No newline at end of file
--- 1318,1332 ----
// used only for debugging purposes only
! if( defined('EM_DEBUG_AID') )
{
! function em_vd($mixed, $title = '')
! {
! ob_start();
! var_dump($mixed);
! $content = ob_get_contents();
! ob_end_clean();
! echo '<pre>' . ( !empty($title) ? ($title . ': ') : '' ) . htmlspecialchars($content) . "</pre>\n";
! }
}
?>
\ No newline at end of file
|