mirror of
https://github.com/avecms/AVE.cms.git
synced 2025-01-22 07:20:07 +00:00
Fixes
This commit is contained in:
parent
0ee7891d41
commit
6869f14190
@ -1024,7 +1024,7 @@
|
||||
$out .= '<br>';
|
||||
$out .= 'Memory peak usage: ' . self::getStatistic('peak');
|
||||
$out .= '<br>';
|
||||
$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 .= '<br>';
|
||||
$out .= 'All SQL Queries: ' . count($AVE_DB->_query_list);
|
||||
$out .= '</div>';
|
||||
|
@ -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);
|
||||
output_compress($render);
|
||||
|
||||
$AVE_DB->Close();
|
Loading…
x
Reference in New Issue
Block a user