From 896299fe4b75eb664420189608b4062e24227db5 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 7 Nov 2006 09:25:47 +0000 Subject: [PATCH] Added execution time to main.php git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5030 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/main.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/html/main.php b/html/main.php index 93c71f5ac..e03e40b75 100644 --- a/html/main.php +++ b/html/main.php @@ -340,6 +340,8 @@ if (isset ($_SESSION['post_cnt'])){ echo "\n"; } +$start = microtime(); + /* Load plugin */ if (is_file("$plugin_dir/main.inc")){ require_once ("$plugin_dir/main.inc"); @@ -366,7 +368,7 @@ if (is_file("$plugin_dir/main.inc")){ /* Print_out last ErrorMessage repeated string. */ print_red(NULL); -$smarty->assign("contents", $display); +$smarty->assign("contents", $display.get_MicroTimeDiff($start,microtime())); if (isset($_SESSION['errors'])){ $smarty->assign("errors", $_SESSION['errors']); -- 2.30.2