Ignore:
Timestamp:
06/24/08 17:10:06 (16 years ago)
Author:
niltonneto
Message:

Alteração para carregar no setup apenas as variáveis da API,
evitando conflitos de variáveis com demais módulos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/setup/ldapmodify.php

    r2 r328  
    5151        )); 
    5252 
    53         $GLOBALS['phpgw_setup']->db->query("SELECT config_name,config_value FROM phpgw_config WHERE config_name LIKE 'ldap%' OR config_name='account_repository'",__LINE__,__FILE__); 
     53        $GLOBALS['phpgw_setup']->db->query("SELECT config_name,config_value FROM phpgw_config WHERE config_app = 'phpgwapi' and config_name LIKE 'ldap%' OR config_name='account_repository'",__LINE__,__FILE__); 
    5454        while($GLOBALS['phpgw_setup']->db->next_record()) 
    5555        { 
    5656                $config[$GLOBALS['phpgw_setup']->db->f('config_name')] = $GLOBALS['phpgw_setup']->db->f('config_value'); 
    5757        } 
     58 
    5859        $phpgw_info['server']['ldap_host']          = $config['ldap_host']; 
    5960        $phpgw_info['server']['ldap_context']       = $config['ldap_context']; 
Note: See TracChangeset for help on using the changeset viewer.