phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: phpgroupware header.inc.php.template,1.35.2.2,1.


From: Mark A Peters <address@hidden>
Subject: [Phpgroupware-cvs] CVS: phpgroupware header.inc.php.template,1.35.2.2,1.35.2.3
Date: Mon, 12 Aug 2002 17:53:59 -0400

Update of /cvsroot/phpgroupware/phpgroupware
In directory subversions:/tmp/cvs-serv23237

Modified Files:
      Tag: Version-0_9_14-branch
        header.inc.php.template 
Log Message:
Simple Cleanups.

Index: header.inc.php.template
===================================================================
RCS file: /cvsroot/phpgroupware/phpgroupware/header.inc.php.template,v
retrieving revision 1.35.2.2
retrieving revision 1.35.2.3
diff -C2 -r1.35.2.2 -r1.35.2.3
*** header.inc.php.template     12 Feb 2002 09:55:53 -0000      1.35.2.2
--- header.inc.php.template     12 Aug 2002 21:53:57 -0000      1.35.2.3
***************
*** 95,98 ****
--- 95,110 ----
        define('DEBUG_DATATYPES',  True);
        define('DEBUG_LEVEL',  3);
+       define('DEBUG_TIMER', False);
+ 
+       function perfgetmicrotime()
+       {
+               list($usec, $sec) = explode(' ',microtime());
+               return ((float)$usec + (float)$sec);
+       }
+ 
+       if (DEBUG_TIMER)
+       {
+               $GLOBALS['debug_timer_start'] = perfgetmicrotime();
+       }
  
        
/**************************************************************************\
***************
*** 101,105 ****
        define('PHPGW_API_INC',PHPGW_INCLUDE_ROOT.'/phpgwapi/inc');
        include(PHPGW_SERVER_ROOT.'/phpgwapi/setup/setup.inc.php');
!       $GLOBALS['phpgw_info']["server"]["versions"]["phpgwapi"] = 
$setup_info['phpgwapi']['version'];
        $GLOBALS['phpgw_info']['server']['versions']['current_header'] = 
$setup_info['phpgwapi']['versions']['current_header'];
        unset($setup_info);
--- 113,117 ----
        define('PHPGW_API_INC',PHPGW_INCLUDE_ROOT.'/phpgwapi/inc');
        include(PHPGW_SERVER_ROOT.'/phpgwapi/setup/setup.inc.php');
!       $GLOBALS['phpgw_info']["server"]['versions']['phpgwapi'] = 
$setup_info['phpgwapi']['version'];
        $GLOBALS['phpgw_info']['server']['versions']['current_header'] = 
$setup_info['phpgwapi']['versions']['current_header'];
        unset($setup_info);





reply via email to

[Prev in Thread] Current Thread [Next in Thread]