mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-05 07:27:04 +03:00
Small improvements
This commit is contained in:
parent
6e6dd31ad4
commit
641fb3e532
6 changed files with 28 additions and 7 deletions
|
|
@ -22,6 +22,16 @@ class Loader
|
|||
*/
|
||||
public static $StoreStatistic = true;
|
||||
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
public static $InitTime = 0;
|
||||
|
||||
/**
|
||||
* @var float
|
||||
*/
|
||||
public static $InitMicrotimeTime = 0;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
|
|
@ -43,7 +53,11 @@ class Loader
|
|||
if (!$bIsInited)
|
||||
{
|
||||
$bIsInited = true;
|
||||
self::SetStatistic('Inited', \microtime(true));
|
||||
|
||||
self::$InitTime = \time();
|
||||
self::$InitMicrotimeTime = \microtime(true);
|
||||
|
||||
self::SetStatistic('Inited', self::$InitMicrotimeTime);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue