dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 2:
d1e90b6
)
Merge "Bug 35671 - PHP Notice: Undefined index: gettoken in includes/api/ApiMain...
author
Demon
<chadh@wikimedia.org>
Tue, 3 Apr 2012 19:47:08 +0000
(19:47 +0000)
committer
Gerrit Code Review
<gerrit@wikimedia.org>
Tue, 3 Apr 2012 19:47:08 +0000
(19:47 +0000)
includes/specials/SpecialUpload.php
patch
|
blob
|
history
diff --git
a/includes/specials/SpecialUpload.php
b/includes/specials/SpecialUpload.php
index
fabe4c4
..
91631f8
100644
(file)
--- a/
includes/specials/SpecialUpload.php
+++ b/
includes/specials/SpecialUpload.php
@@
-830,7
+830,9
@@
class UploadForm extends HTMLForm {
# that setting doesn't exist
if ( !wfIsHipHop() ) {
$this->mMaxUploadSize['file'] = min( $this->mMaxUploadSize['file'],
- wfShorthandToInteger( ini_get( 'upload_max_filesize' ) ) );
+ wfShorthandToInteger( ini_get( 'upload_max_filesize' ) ),
+ wfShorthandToInteger( ini_get( 'post_max_size' ) )
+ );
}
$descriptor['UploadFile'] = array(