Skip to content

Commit d5c71cf

Browse files
committed
typo
1 parent c4097cb commit d5c71cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/php/UploadHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ protected function validate($uploaded_file, $file, $error, $index) {
356356
return false;
357357
}
358358
$content_length = $this->fix_integer_overflow(intval($_SERVER['CONTENT_LENGTH']));
359-
$post_max_size = $this->get_config_bytes(ini_get('53180')
359+
$post_max_size = $this->get_config_bytes(ini_get('post_max_size'));
360360
if ($post_max_size && ($content_length > $post_max_size)) {
361361
$file->error = $this->get_error_message('post_max_size');
362362
return false;

0 commit comments

Comments
 (0)