Ignore:
Timestamp:
04/11/12 12:04:21 (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.vfs_dav.inc.php

    r3863 r5912  
    22792279                                ); 
    22802280                        } 
    2281                         elseif (preg_match ("+^$this->fakebase\/(.*)$+U", $p->fake_full_path, $matches)) 
     2281                        elseif (ereg("+^$this->fakebase\/(.*)$+U", $p->fake_full_path, $matches)) 
    22822282                        { 
    22832283                                $set_attributes_array = Array( 
     
    23722372                        for($i=0;$i<sizeof($contents);$i++) 
    23732373                        { 
    2374                                 if (!ereg("^#",$contents[$i])) 
     2374                                if (!preg_match('/^#/',$contents[$i])) 
    23752375                                { 
    23762376                                        $line=split("[[:space:]]+", $contents[$i]); 
     
    25942594                        ); 
    25952595                 
    2596                         if ($data['checksubdirs']==False && ereg('.*/$', $data['string']) && $data['nofiles'] ) 
     2596                        if ($data['checksubdirs']==False && preg_match('/.*\/$/', $data['string']) && $data['nofiles'] ) 
    25972597                        { 
    25982598$this->debug('Returning empty for'.$data['string']); 
Note: See TracChangeset for help on using the changeset viewer.