diff --git a/phpgwapi/inc/phpgw_vfs.inc.php b/phpgwapi/inc/phpgw_vfs.inc.php index acc3b65bdf..96d2bb5593 100644 --- a/phpgwapi/inc/phpgw_vfs.inc.php +++ b/phpgwapi/inc/phpgw_vfs.inc.php @@ -244,7 +244,8 @@ } $topath = $this->getabsolutepath($tofile); umask(000); - if (!$this->move_uploaded_file($fromfile, $topath)) { + //if (!$this->move_uploaded_file($fromfile, $topath)) { + if (!$this->mv($fromfile, $topath)) { return False; }else{ return True;