Ticket #9625: file.php.diff
| File file.php.diff, 1.7 KB (added by , 17 years ago) |
|---|
-
file.php
236 236 __( "The uploaded file exceeds the <em>MAX_FILE_SIZE</em> directive that was specified in the HTML form." ), 237 237 __( "The uploaded file was only partially uploaded." ), 238 238 __( "No file was uploaded." ), 239 '',240 239 __( "Missing a temporary folder." ), 241 __( "Failed to write file to disk." )); 240 __( "Failed to write file to disk." ), 241 __( "File upload stopped by extension." )); 242 242 243 243 // All tests are on by default. Most can be turned off by $override[{test_name}] = false; 244 244 $test_form = true; … … 339 339 340 340 // Courtesy of php.net, the strings that describe the error indicated in $_FILES[{form field}]['error']. 341 341 $upload_error_strings = array( false, 342 __( "The file exceeds the <code>upload_max_filesize</code> directive in <code>php.ini</code>." ),343 __( "The file exceeds the <em>MAX_FILE_SIZE</em> directive that was specified in the HTML form." ),344 __( "The file was only partially uploaded." ),345 __( "No file was sent." ),342 __( "The uploaded file exceeds the <code>upload_max_filesize</code> directive in <code>php.ini</code>." ), 343 __( "The uploaded file exceeds the <em>MAX_FILE_SIZE</em> directive that was specified in the HTML form." ), 344 __( "The uploaded file was only partially uploaded." ), 345 __( "No file was uploaded." ), 346 346 __( "Missing a temporary folder." ), 347 __( "Failed to write file to disk." )); 347 __( "Failed to write file to disk." ), 348 __( "File upload stopped by extension." )); 348 349 349 350 // All tests are on by default. Most can be turned off by $override[{test_name}] = false; 350 351 $test_form = true;