mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Use move_uploaded_file() instead of rename() in "pkgsubmit.php".
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
parent
a77420126b
commit
bc207d25cd
1 changed files with 1 additions and 1 deletions
|
@ -247,7 +247,7 @@ if ($_COOKIE["AURSID"]):
|
|||
}
|
||||
|
||||
file_put_contents('PKGBUILD', $pkgbuild_raw);
|
||||
rename($_FILES['pfile']['tmp_name'], $pkg_name . '.tar.gz');
|
||||
move_uploaded_file($_FILES['pfile']['tmp_name'], $pkg_name . '.tar.gz');
|
||||
}
|
||||
|
||||
# Update the backend database
|
||||
|
|
Loading…
Add table
Reference in a new issue