Franco Ponticelli 15 năm trước cách đây
mục cha
commit
6c1d95adeb
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      std/php/Web.hx

+ 1 - 1
std/php/Web.hx

@@ -310,7 +310,7 @@ class Web {
 					case 1: throw "The uploaded file exceeds the max size of " + untyped __call__('ini_get', 'upload_max_filesize');
 					case 2: throw "The uploaded file exceeds the max file size directive specified in the HTML form (max is" + untyped __call__('ini_get', 'post_max_size') + ")";
 					case 3: throw "The uploaded file was only partially uploaded";
-					case 4: continue;
+					case 4: continue; // No file was uploaded
 					case 6: throw "Missing a temporary folder";
 					case 7: throw "Failed to write file to disk";
 					case 8: throw "File upload stopped by extension";