[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [20996] Improvement: hide timer for others than admin
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] [20996] Improvement: hide timer for others than admin 4565:4680 |
Date: |
Sat, 30 Jan 2010 16:32:04 +0000 |
Revision: 20996
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20996
Author: sigurdne
Date: 2010-01-30 16:32:04 +0000 (Sat, 30 Jan 2010)
Log Message:
-----------
Improvement: hide timer for others than admin 4565:4680
Modified Paths:
--------------
people/sigurdne/modules/phpgwapi/trunk/inc/footer.inc.php
Modified: people/sigurdne/modules/phpgwapi/trunk/inc/footer.inc.php
===================================================================
--- people/sigurdne/modules/phpgwapi/trunk/inc/footer.inc.php 2010-01-30
16:24:18 UTC (rev 20995)
+++ people/sigurdne/modules/phpgwapi/trunk/inc/footer.inc.php 2010-01-30
16:32:04 UTC (rev 20996)
@@ -33,7 +33,7 @@
require_once PHPGW_APP_INC . '/footer.inc.php';
}
- if (DEBUG_TIMER)
+ if (isset($GLOBALS['phpgw_info']['user']['apps']['admin']) &&
DEBUG_TIMER)
{
$debug_timer_stop = perfgetmicrotime();
echo '<p class="api_timer">' . lang('page prepared in %1
seconds.', $debug_timer_stop - $GLOBALS['debug_timer_start'] ) . "<p>\n";
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [20996] Improvement: hide timer for others than admin 4565:4680,
Sigurd Nes <=