From 70180abdfc226d1640a0408248fefd1fd1e45c1f Mon Sep 17 00:00:00 2001 From: M.Gergo Date: Mon, 6 Apr 2020 14:01:58 +0200 Subject: Mayor-Nextcloud script: . --- "egy\303\251b/nextcloud/mayor-nextcloud.php" | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'egyéb/nextcloud') diff --git "a/egy\303\251b/nextcloud/mayor-nextcloud.php" "b/egy\303\251b/nextcloud/mayor-nextcloud.php" index 19fee700..9629ab35 100644 --- "a/egy\303\251b/nextcloud/mayor-nextcloud.php" +++ "b/egy\303\251b/nextcloud/mayor-nextcloud.php" @@ -1034,8 +1034,8 @@ if (function_exists('mysqli_connect') and PHP_MAJOR_VERSION >= 7) { //MySQLi (Im @mysqli_close($link2); @mysqli_close($link); - $t_run = (microtime(true) - $t_start)/60; - if ($log['verbose'] > 0 ){ echo "\n(Runtime: ".$t_run."min.)\nkész.\n";} //endline + $t_run = round((microtime(true) - $t_start)/60, 3); + if ($log['verbose'] > 0 ){ echo "\n(Runtime: ".$t_run." min.)\nkész.\n";} //endline } else { echo "\n\n******** Legalább PHP7 és mysqli szükséges! ********\n\n"; -- cgit v1.2.3