diff --git a/class/class.debug.php b/class/class.debug.php
index a497367..148d053 100644
--- a/class/class.debug.php
+++ b/class/class.debug.php
@@ -1024,7 +1024,7 @@
$out .= '
';
$out .= 'Memory peak usage: ' . self::getStatistic('peak');
$out .= '
';
- $out .= 'SQL Queries: ' . $AVE_DB->DBProfilesGet('count') . ' for ' . $AVE_DB->DBProfilesGet('time') . ' sec';
+ $out .= 'Real SQL Queries: ' . $AVE_DB->DBProfilesGet('count') . ' for ' . $AVE_DB->DBProfilesGet('time') . ' sec';
$out .= '
';
$out .= 'All SQL Queries: ' . count($AVE_DB->_query_list);
$out .= '';
diff --git a/index.php b/index.php
index 692abbf..e1da623 100755
--- a/index.php
+++ b/index.php
@@ -11,7 +11,7 @@
* @license GPL v.2
*/
- define ('START_MICROTIME', microtime(true));
+ define ('START_MICROTIME', microtime());
define ('START_MEMORY', memory_get_usage());
define ('BASE_DIR', str_replace("\\", "/", dirname(__FILE__)));
@@ -174,4 +174,6 @@
$GLOBALS['block_generate']['DOCUMENT']['CONTENT'] = Debug::endTime('CONTENT');
//-- Вывод конечного результата
- output_compress($render);
\ No newline at end of file
+ output_compress($render);
+
+ $AVE_DB->Close();
\ No newline at end of file