Index: trunk/index.php
===================================================================
diff -u -r1692 -r4243
--- trunk/index.php	(.../index.php)	(revision 1692)
+++ trunk/index.php	(.../index.php)	(revision 4243)
@@ -4,17 +4,19 @@
 
 define('FULL_PATH', realpath(dirname(__FILE__)));
 define('APPLICATION_CLASS', 'MyApplication');
-define('ADMINS_LIST','/in-portal/users/users.php');
 include_once(FULL_PATH.'/kernel/kernel4/startup.php');
 
 $application =& kApplication::Instance();
 $application->Init();
 $application->Run();
 $application->Done();
 
+/*$application->Debugger->appendHTML('Objects if kDBItem, kDBList class created (<b>'.count($application->APCalled).'</b>):');
+print_pre($application->APCalled);*/
+
 $end = getmicrotime();
 
-if (defined('DEBUG_MODE')&&DEBUG_MODE) {
+if ($application->isDebugMode() && !dbg_ConstOn('DBG_SKIP_REPORTING')) {
 	echo '<br><br><div style="font-family: arial,verdana; font-size: 8pt;">Memory used: '.round(memory_get_usage()/1024/1024, 1).' Mb <br>';
 	echo 'Time used: '.round(($end - $start), 5).' Sec <br></div>';
 }