You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-11-29 11:03:07 +03:00
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@757 a1433add-5e2c-0410-b055-b7f2511e0802
24 lines
360 B
PHP
24 lines
360 B
PHP
<?php
|
|
/**
|
|
* Smarty plugin
|
|
* @package Smarty
|
|
* @subpackage plugins
|
|
*/
|
|
|
|
/**
|
|
* Get seconds and microseconds
|
|
* @return double
|
|
*/
|
|
function smarty_core_get_microtime($params, &$smarty)
|
|
{
|
|
$mtime = microtime();
|
|
$mtime = explode(" ", $mtime);
|
|
$mtime = (double)($mtime[1]) + (double)($mtime[0]);
|
|
return ($mtime);
|
|
}
|
|
|
|
|
|
/* vim: set expandtab: */
|
|
|
|
?>
|