Changeset 5912 for trunk/phpgwapi/inc/class.vfs_dav.inc.php
- Timestamp:
- 04/11/12 12:04:21 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.vfs_dav.inc.php
r3863 r5912 2279 2279 ); 2280 2280 } 2281 elseif ( preg_match("+^$this->fakebase\/(.*)$+U", $p->fake_full_path, $matches))2281 elseif (ereg("+^$this->fakebase\/(.*)$+U", $p->fake_full_path, $matches)) 2282 2282 { 2283 2283 $set_attributes_array = Array( … … 2372 2372 for($i=0;$i<sizeof($contents);$i++) 2373 2373 { 2374 if (! ereg("^#",$contents[$i]))2374 if (!preg_match('/^#/',$contents[$i])) 2375 2375 { 2376 2376 $line=split("[[:space:]]+", $contents[$i]); … … 2594 2594 ); 2595 2595 2596 if ($data['checksubdirs']==False && ereg('.*/$', $data['string']) && $data['nofiles'] )2596 if ($data['checksubdirs']==False && preg_match('/.*\/$/', $data['string']) && $data['nofiles'] ) 2597 2597 { 2598 2598 $this->debug('Returning empty for'.$data['string']);
Note: See TracChangeset
for help on using the changeset viewer.