Updating MAX_FILE_SIZE to match with the 2MB default of php.ini (it was 1.91MB).
authorHuji <huji@users.mediawiki.org>
Thu, 3 Jan 2008 17:46:37 +0000 (17:46 +0000)
committerHuji <huji@users.mediawiki.org>
Thu, 3 Jan 2008 17:46:37 +0000 (17:46 +0000)
includes/SpecialImport.php

index 882363c..19df38f 100644 (file)
@@ -95,7 +95,7 @@ function wfSpecialImport( $page = '' ) {
        <form enctype='multipart/form-data' method='post' action=\"$action\">
                <input type='hidden' name='action' value='submit' />
                <input type='hidden' name='source' value='upload' />
-               <input type='hidden' name='MAX_FILE_SIZE' value='2000000' />
+               <input type='hidden' name='MAX_FILE_SIZE' value='2097152' />
                <input type='file' name='xmlimport' value='' size='30' />
                <input type='submit' value=\"" . wfMsgHtml( "uploadbtn" ) . "\" />
        </form>