Index: trunk/index.php
===================================================================
diff -u -r1674 -r1692
--- trunk/index.php	(.../index.php)	(revision 1674)
+++ trunk/index.php	(.../index.php)	(revision 1692)
@@ -7,17 +7,14 @@
 define('ADMINS_LIST','/in-portal/users/users.php');
 include_once(FULL_PATH.'/kernel/kernel4/startup.php');
 
-
-//if (!isset($_GET['admin'])) define('MOD_REWRITE', 1);
-
 $application =& kApplication::Instance();
 $application->Init();
 $application->Run();
 $application->Done();
 
 $end = getmicrotime();
 
-if (defined('DEBUG_MODE')) {
+if (defined('DEBUG_MODE')&&DEBUG_MODE) {
 	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>';
 }