Index: trunk/index.php =================================================================== diff -u -N -r3184 -r3216 --- trunk/index.php (.../index.php) (revision 3184) +++ trunk/index.php (.../index.php) (revision 3216) @@ -13,7 +13,8 @@ $end = getmicrotime(); -if (defined('DEBUG_MODE')&&DEBUG_MODE) { +if ( $application->isDebugMode() ) +{ echo '

Memory used: '.round(memory_get_usage()/1024/1024, 1).' Mb
'; echo 'Time used: '.round(($end - $start), 5).' Sec
'; }