I have looked all over the place. How do I allow for larger uploads in mantis? Its on ubuntu server. Here is the what my config_inc.php looks like in /var/www/mantis/config. I am not that great in linux, and do not know anything about php. If you see anything else wrong let me know.
Thanks.
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysqli';
$g_database_name = 'mantisdb';
$g_db_username = 'XXXX';
$g_db_password = 'XXXXXXXXX';
$g_default_timezone = 'America/New_York';
$g_crypto_master_salt = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXX';
$g_enable_email_notification = OFF;
$g_send_reset_password = OFF;
$g_validate_email = OFF;
$g_check_mx_record = OFF;
# threshold for viewing roadmap
$g_roadmap_view_threshold = NOBODY;
# threshold for updating roadmap, target_version, etc
$g_roadmap_update_threshold = NOBODY;
$g_view_changelog_threshold = NOBODY;
# To disable profiles:
$g_enable_profiles = OFF;
# To disable Steps-to-reproduce, additional informations and tags:
$g_bug_report_page_fields= array(
'category_id',
//'view_state',
//'handler',
//'priority',
//'severity',
//'reproducibility',
// 'platform',
// 'os',
// 'os_version',
//'product_version',
//'product_build',
//'target_version',
//'summary',
//'description',
// 'additional_info',
// 'steps_to_reproduce',
'attachments',
'due_date',
);
# To have the colorized plugin work:
$g_css_include_file= "/colorized/colorized.css";
Version 2.22.0
Moderators: Developer, Contributor
Re: Version 2.22.0
You can control that with this setting:
/**
* Maximum file size (bytes) that can be uploaded.
* Also check your PHP settings (default is usually 2MBs)
* @global integer $g_max_file_size
*/
$g_max_file_size = 5000000;
remember to ensure similar setting needs to exist in php.ini
/**
* Maximum file size (bytes) that can be uploaded.
* Also check your PHP settings (default is usually 2MBs)
* @global integer $g_max_file_size
*/
$g_max_file_size = 5000000;
remember to ensure similar setting needs to exist in php.ini