summaryrefslogtreecommitdiffstats
path: root/web/template/pkg_comments.php
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-06-28 21:21:16 -0400
committerLukas Fleischer <archlinux@cryptocrack.de>2012-07-06 11:27:14 +0200
commitb5ffdeb63e3df5c341f9ccdafcfbaa446c5670f4 (patch)
tree7151d0dff5ee7d0e8037e25fa8dd6f15897f974a /web/template/pkg_comments.php
parent5ebf9d64ee03e0b19f42b0475ad7750eef911392 (diff)
downloadaurweb-b5ffdeb63e3df5c341f9ccdafcfbaa446c5670f4.tar.xz
pkgsubmit.php: Improve file upload error messages
* Currently, $_FILES showing a filesize of zero is interpreted as no file was uploaded, despite other errors potentially being the cause. * The $_FILES superglobal stores what the actual error was, so use it. This includes file write problems, empty uploads, partial uploads, and upload_max_filesize being exceeded. Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/template/pkg_comments.php')
0 files changed, 0 insertions, 0 deletions