HHVM removal: Drop hhvm.server.max_post_size ini fallback
Change-Id: I8db78bf81d1aeb3028978088102eee39340ed2fe
This commit is contained in:
parent
6849b5a2a8
commit
189db9bdb0
1 changed files with 1 additions and 4 deletions
|
|
@ -128,10 +128,7 @@ class WebRequestUpload {
|
|||
}
|
||||
|
||||
$contentLength = $this->request->getHeader( 'Content-Length' );
|
||||
$maxPostSize = wfShorthandToInteger(
|
||||
ini_get( 'post_max_size' ) ?: ini_get( 'hhvm.server.max_post_size' ),
|
||||
0
|
||||
);
|
||||
$maxPostSize = wfShorthandToInteger( ini_get( 'post_max_size' ), 0 );
|
||||
|
||||
if ( $maxPostSize && $contentLength > $maxPostSize ) {
|
||||
# post_max_size is exceeded
|
||||
|
|
|
|||
Loading…
Reference in a new issue