Ignore:
Timestamp:
04/12/12 15:18:08 (12 years ago)
Author:
marcosw
Message:

Ticket #2398 - Compatibilizacao com PHP-5.3 em alguns módulos do expresso

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/expressoMail1_2/login_offline.php

    r5912 r5934  
    339339        if (count($GLOBALS['phpgw_info']['server']['login_logo_file']) > 0) { 
    340340                $logo_config = $GLOBALS['phpgw_info']['server']['login_logo_file']; 
    341                 $logo_config = ereg_replace("phpgwapi/","../phpgwapi/",$logo_config); 
     341                $logo_config = preg_replace('/phpgwapi\//','../phpgwapi/',$logo_config); 
    342342                $tmpl->set_var('logo_config',$logo_config);      
    343343        } 
Note: See TracChangeset for help on using the changeset viewer.