Init();
$application->Run();
$application->Done();
$end = getmicrotime();
if ($application->isDebugMode() && !dbg_ConstOn('DBG_SKIP_REPORTING')) {
	echo '	
			
			
				
					| Memory used: | '.round(memory_get_usage()/1024/1024, 1).' MB ('.memory_get_usage().') | 
				
					| Time used: | '.round(($end - $start), 5).' sec | 
			
';
}
function getmicrotime()
{
    list($usec, $sec) = explode(" ", microtime());
    return ((float)$usec + (float)$sec);
}
//update_memory_check_script();
function update_memory_check_script() {
	$files = get_included_files();
	$script = '$files = Array('."\n";
	foreach ($files as $file_name) {
		$script .= "\t\t'".str_replace(FULL_PATH, '', $file_name)."',\n";
	}
	$script .= ");\n";
	echo "";
	echo $script;
	echo "
";
}
?>