Changeset 593 for trunk/lib/Validator.inc.php
- Timestamp:
- Apr 14, 2017 5:59:29 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Validator.inc.php
r575 r593 573 573 $upload_max_filesize = phpIniGetBytes('upload_max_filesize'); 574 574 if (isset($_SERVER['CONTENT_LENGTH']) && 0 != $upload_max_filesize && $_SERVER['CONTENT_LENGTH'] > $upload_max_filesize) { 575 $app->logMsg(sprintf('%s (line %s) failed: %s', __METHOD__, __LINE__, getDump($val)), $type, $file, $line);575 $app->logMsg(sprintf('%s (line %s) failed: filesize %s exceeds limit of %s', __METHOD__, __LINE__, $_SERVER['CONTENT_LENGTH'], $upload_max_filesize), $type, $file, $line); 576 576 return false; 577 577 }
Note: See TracChangeset
for help on using the changeset viewer.