Ignore:
Timestamp:
10/10/13 11:39:53 (10 years ago)
Author:
angelo
Message:

Ticket #3491 - Compatibilizar Expresso com novas versoes do PHP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.5.1-evolucao/header.inc.php.template

    r8142 r8235  
    1919        \**************************************************************************/ 
    2020        ob_start(); 
    21         define('PHPGW_SERVER_ROOT','{SERVER_ROOT}'); 
    22         define('PHPGW_INCLUDE_ROOT','{INCLUDE_ROOT}'); 
     21        if (!defined('PHPGW_SERVER_ROOT')) define('PHPGW_SERVER_ROOT','{SERVER_ROOT}'); 
     22        if (!defined('PHPGW_INCLUDE_ROOT')) define('PHPGW_INCLUDE_ROOT','{INCLUDE_ROOT}'); 
    2323        $GLOBALS['phpgw_info']['server']['header_admin_user'] = '{HEADER_ADMIN_USER}'; 
    2424        $GLOBALS['phpgw_info']['server']['header_admin_password'] = '{HEADER_ADMIN_PASSWORD}'; 
     
    114114        * Do not edit these lines                                                  * 
    115115        \**************************************************************************/ 
    116         define('PHPGW_API_INC',PHPGW_INCLUDE_ROOT.'/phpgwapi/inc'); 
     116        if (!defined('PHPGW_API_INC')) define('PHPGW_API_INC',PHPGW_INCLUDE_ROOT.'/phpgwapi/inc'); 
    117117        include(PHPGW_SERVER_ROOT.'/phpgwapi/setup/setup.inc.php'); 
    118118        $GLOBALS['phpgw_info']['server']['versions']['phpgwapi'] = $setup_info['phpgwapi']['version']; 
Note: See TracChangeset for help on using the changeset viewer.