Ignore:
Timestamp:
04/12/12 11:15:33 (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/phpgwapi/inc/class.common.inc.php

    r5912 r5928  
    713713                                while ($file = readdir($dh)) 
    714714                                { 
    715                                         if (eregi("\.css$", $file) && $file != 'phpgw.css') 
     715                                        if (preg_match('/\.css$/i', $file) && $file != 'phpgw.css') 
    716716                                        { 
    717717                                                $list[] = substr($file,0,strpos($file,'.')); 
     
    724724                                while ($file = readdir($dh)) 
    725725                                { 
    726                                         if (eregi("\.theme$", $file)) 
     726                                        if (preg_match('/\.theme$/i', $file)) 
    727727                                        { 
    728728                                                $list[] = substr($file,0,strpos($file,'.')); 
Note: See TracChangeset for help on using the changeset viewer.