.
/**
* This include file prints out the bug file upload form
* It POSTs to bug_file_add.php
* @package MantisBT
* @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
* @copyright Copyright (C) 2002 - 2014 MantisBT Team - mantisbt-dev@lists.sourceforge.net
* @link http://www.mantisbt.org
*/
require_once( 'file_api.php' );
# check if we can allow the upload... bail out if we can't
if ( !file_allow_bug_upload( $f_bug_id ) ) {
return false;
}
$t_max_file_size = (int)min( ini_get_number( 'upload_max_filesize' ), ini_get_number( 'post_max_size' ), config_get( 'max_file_size' ) );
?>