Changeset 5921 for trunk/phpgwapi/inc/class.vfs_sql.inc.php
- Timestamp:
- 04/11/12 17:21:30 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.vfs_sql.inc.php
r5164 r5921 1522 1522 'relatives' => array ($f->mask) 1523 1523 ) == 'Directory')) 1524 && ereg ("^$f->fake_full_path", $t->fake_full_path)1524 && preg_match("/^$f->fake_full_path/", $t->fake_full_path) 1525 1525 ) 1526 1526 { … … 1889 1889 1890 1890 /* We don't allow /'s in dir names, of course */ 1891 if ( ereg ("/", $p->fake_name))1891 if (preg_match('/\//', $p->fake_name)) 1892 1892 { 1893 1893 return False; … … 2491 2491 */ 2492 2492 /* 2493 if (@! ereg ('^' . $file_array['directory'], $p->fake_full_path))2493 if (@!preg_match("/^$file_array['directory']/", $p->fake_full_path)) 2494 2494 { 2495 2495 continue;
Note: See TracChangeset
for help on using the changeset viewer.