Changeset 593


Ignore:
Timestamp:
01/13/09 18:01:33 (15 years ago)
Author:
niltonneto
Message:

Código para ajudar na depuração e otimização do tempo de carregamento
dos módulos no Expresso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoAdmin1_2/index.php

    r493 r593  
    99        *  option) any later version.                                                                                                            * 
    1010        \*************************************************************************************/ 
     11        $debug = false;  
     12        $time_start = microtime(true); 
    1113 
    1214        $GLOBALS['phpgw_info'] = array(); 
     
    1618        $c = CreateObject('phpgwapi.config','expressoAdmin1_2'); 
    1719        $c->read_repository(); 
     20         
    1821        $current_config = $c->config_data; 
    19          
    2022        $ldap_manager = CreateObject('contactcenter.bo_ldap_manager'); 
    2123        $boemailadmin   = CreateObject('emailadmin.bo'); 
     
    6769 
    6870        $GLOBALS['phpgw']->common->phpgw_footer(); 
     71         
     72        if($debug) 
     73                echo lang('Page was generated in %1 seconds',microtime(true) - $time_start);     
    6974?> 
Note: See TracChangeset for help on using the changeset viewer.