Changeset 5940 for trunk/phpgwapi/inc/class.vfs_sql.inc.php
- Timestamp:
- 04/13/12 10:19:53 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/phpgwapi/inc/class.vfs_sql.inc.php
r5921 r5940 1390 1390 )) as $entry) 1391 1391 { 1392 $newdir = ereg_replace ("^$f->fake_full_path", "$t->fake_full_path", $entry['directory']);1392 $newdir = preg_replace("/^$f->fake_full_path/", "$t->fake_full_path", $entry['directory']); 1393 1393 $this->mkdir (array( 1394 1394 'string' => $newdir.'/'.$entry['name'], … … 1409 1409 } 1410 1410 1411 $newdir = ereg_replace ("^$f->fake_full_path", "$t->fake_full_path", $entry['directory']);1411 $newdir = preg_replace("/^$f->fake_full_path/", "$t->fake_full_path", $entry['directory']); 1412 1412 $this->cp (array( 1413 1413 'from' => "$entry[directory]/$entry[name]", … … 1647 1647 foreach ($ls as $entry) 1648 1648 { 1649 $newdir = ereg_replace ("^$f->fake_full_path", $t->fake_full_path, $entry['directory']);1649 $newdir = preg_replace("/^$f->fake_full_path/", $t->fake_full_path, $entry['directory']); 1650 1650 $newdir_clean = $this->clean_string (array ('string' => $newdir)); 1651 1651
Note: See TracChangeset
for help on using the changeset viewer.