Ignore:
Timestamp:
09/24/13 15:21:28 (11 years ago)
Author:
angelo
Message:

Ticket #3491 - Compatibilizar Expresso com novas versoes do PHP

Location:
sandbox/2.5.1-evolucao
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • sandbox/2.5.1-evolucao/phpgwapi/inc/class.auth_ldap.inc.php

    r5773 r8221  
    3838                        if(!$ldap = @ldap_connect($GLOBALS['phpgw_info']['server']['ldap_host'])) 
    3939                        { 
    40                                 $GLOBALS['phpgw']->log->message('F-Abort, Failed connecting to LDAP server for authenication, execution stopped'); 
     40                                $GLOBALS['phpgw']->log->message(array( 
     41                                        'text' => 'F-Abort, Failed connecting to LDAP server for authenication, execution stopped', 
     42                                        'line' => __LINE__, 
     43                                        'file' => __FILE__ 
     44                                        )); 
    4145                                $GLOBALS['phpgw']->log->commit(); 
    4246                                return False; 
  • sandbox/2.5.1-evolucao/phpgwapi/inc/class.common.inc.php

    r7673 r8221  
    268268                                if(is_object($GLOBALS['phpgw']->log)) 
    269269                                { 
    270                                         $GLOBALS['phpgw']->log->message('F-Abort, LDAP support unavailable'); 
     270                                        $GLOBALS['phpgw']->log->message(array( 
     271                                                'text' => 'F-Abort', 'LDAP support unavailable', 
     272                                                'line' => __LINE__, 
     273                                                'file' => __FILE__ 
     274                                        )); 
    271275                                        $GLOBALS['phpgw']->log->commit(); 
    272276                                } 
     
    282286                                if(is_object($GLOBALS['phpgw']->log)) 
    283287                                { 
    284                                         $GLOBALS['phpgw']->log->message('F-Abort, Failed connecting to LDAP server'); 
     288                                        $GLOBALS['phpgw']->log->message(array( 
     289                                                'text' => 'F-Abort, Failed connecting to LDAP server', 
     290                                                'line' => __LINE__, 
     291                                                'file' => __FILE__ 
     292                                        )); 
    285293                                        $GLOBALS['phpgw']->log->commit(); 
    286294                                } 
     
    311319                                        if(is_object($GLOBALS['phpgw']->log)) 
    312320                                        { 
    313                                                 $GLOBALS['phpgw']->log->message('F-Abort, Failed binding to LDAP server'); 
     321                                                $GLOBALS['phpgw']->log->message(array( 
     322                                                        'text' => 'F-Abort, Failed binding to LDAP server', 
     323                                                        'line' => __LINE__, 
     324                                                        'file' => __FILE__                                               
     325                                                )); 
    314326                                                $GLOBALS['phpgw']->log->commit(); 
    315327                                        } 
     
    329341                                if(is_object($GLOBALS['phpgw']->log)) 
    330342                                { 
    331                                         $GLOBALS['phpgw']->log->message('F-Abort, Failed  (anonymous bind) to LDAP server'); 
     343                                        $GLOBALS['phpgw']->log->message(array( 
     344                                                'text' => 'F-Abort, Failed  (anonymous bind) to LDAP server', 
     345                                                'line' => __LINE__, 
     346                                                'file' => __FILE__ 
     347                                        )); 
    332348                                        $GLOBALS['phpgw']->log->commit(); 
    333349                                } 
  • sandbox/2.5.1-evolucao/prototype/api/config.php

    r6800 r8221  
    9191                                { 
    9292                                        $content .= "[$key]\n"; 
    93                                         self::_writeIniFile(&$content, $val, false); 
     93                                        self::_writeIniFile($content, $val, false); 
    9494                                } 
    9595                                else                             
Note: See TracChangeset for help on using the changeset viewer.