From e9d9507a09b13bdf5931bebe86986b700532d3dd Mon Sep 17 00:00:00 2001 From: seek3r Date: Fri, 22 Dec 2000 20:06:05 +0000 Subject: [PATCH] fixed loop problem, I think --- phpgwapi/inc/phpgw_vfs.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;