mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:50 +01:00
fixed loop problem, I think
This commit is contained in:
parent
c82dd5562a
commit
e9d9507a09
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user