string
$g_absolute_path
[line 176]
absolute path to your installation. Requires trailing / or \
Default value: dirname( __FILE__ ) . DIRECTORY_SEPARATOR
string
$g_absolute_path_default_upload_folder
[line 1579]
absolute path to the default upload folder. Requires trailing / or \
Default value: ''
string
$g_access_levels_enum_string
[line 2599]
status from $g_status_index-1 to 79 are used for the onboard customization (if enabled) directly use MantisBT to edit them.
Default value: '10:viewer,25:reporter,40:updater,55:developer,70:manager,90:administrator'
int
$g_add_bugnote_threshold
[line 1969]
Add bugnote threshold
Default value: REPORTER
int
$g_add_profile_threshold
[line 3388]
Add profile threshold
Default value: REPORTER
string
$g_administrator_email
[line 341]
Administrator Email address
Default value: 'administrator@example.com'
int
$g_admin_checks
[line 739]
Check for admin directory, database upgrades, etc.
Default value: ON
int
$g_admin_site_threshold
[line 1993]
Site admin
Default value: ADMINISTRATOR
string
$g_allowed_files
[line 1560]
Files that are allowed or not allowed. Separate items by commas.
eg. 'php,html,java,exe,pl' if $g_allowed_files is filled in NO other file types will be allowed. $g_disallowed_files takes precedence over $g_allowed_files
Default value: ''
int
$g_allow_account_delete
[line 2229]
account delete
Allow users to delete their own accounts
Default value: OFF
int
$g_allow_anonymous_login
[line 2236]
anonymous login
Allow anonymous login
Default value: OFF
int
$g_allow_blank_email
[line 475]
if ON, allow the user to omit an email field note if you allow users to create their own accounts, they must specify an email at that point, no matter what the value of this option is. Otherwise they wouldn't get their passwords.
Default value: OFF
int
$g_allow_close_immediately
[line 2201]
close immediately
Allow developers and above to close bugs immediately when resolving bugs
Default value: OFF
int
$g_allow_delete_own_attachments
[line 1862]
allow users to delete attachments uploaded by themselves even if their access level is below delete_attachments_threshold.
Default value: OFF
int
$g_allow_download_own_attachments
[line 1855]
allow users to download attachments uploaded by themselves even if their access level is below download_attachments_threshold.
Default value: ON
int
$g_allow_file_upload
[line 1507]
--- file upload settings -------- This is the master setting to disable *all* file uploading functionality
If you want to allow file uploads, you must also make sure that they are enabled in php. You may need to add 'file_uploads = TRUE' to your php.ini
See also: $g_upload_project_file_threshold, $g_upload_bug_file_threshold, $g_allow_reporter_upload
Default value: ON
int
$g_allow_freetext_in_profile_fields
[line 3401]
Allows the users to enter free text when reporting/updating issues
for the profile related fields (i.e. platform, os, os build)
Default value: ON
int
$g_allow_no_category
[line 2167]
Allow a bug to have no category
Default value: OFF
int
$g_allow_reporter_close
[line 2208]
reporter can close Allow reporters to close the bugs they reported, after they're marked resolved.
Default value: OFF
int
$g_allow_reporter_reopen
[line 2215]
reporter can reopen Allow reporters to reopen the bugs they reported, after they're marked resolved.
Default value: ON
int
$g_allow_reporter_upload
[line 2222]
reporter can upload Allow reporters to upload attachments to bugs they reported.
Default value: ON
int
$g_allow_signup
[line 266]
allow users to signup for their own accounts.
Mail settings must be correctly configured in order for this to work
Default value: ON
int
$g_allow_view_own_attachments
[line 1848]
allow users to view attachments uploaded by themselves even if their access level is below view_attachments_threshold.
Default value: ON
string
$g_anonymous_account
[line 2242]
Default value: ''
int
$g_assign_sponsored_bugs_threshold
[line 1484]
Access level required to be able to assign a sponsored issue to a user with access level greater or equal to 'handle_sponsored_bugs_threshold'.
Default value: MANAGER
int
$g_attachments_file_permissions
[line 1526]
When using FTP or DISK for storing uploaded files, this setting control
the access permissions they will have on the web server: with the default value (0400) files will be read-only, and accessible only by the user running the apache process (probably "apache" in Linux and "Administrator" in Windows). For more details on unix style permissions: http://www.perlfect.com/articles/chmod.shtml
Default value: 0400
int
$g_auto_set_status_to_assigned
[line 1747]
Automatically set status to ASSIGNED whenever a bug is assigned to a person.
This is useful for installations where assigned status is to be used when the bug is in progress, rather than just put in a person's queue.
Default value: ON
int
$g_backward_year_count
[line 3192]
Default value: 4
string
$g_bottom_include_page
[line 2719]
Specify your top/bottom include file (logos, banners, etc)
Default value: '%absolute_path%'
int
$g_bugnote_allow_user_edit_delete
[line 2054]
Are users allowed to change and delete their own bugnotes?
Default value: ON
string
$g_bugnote_link_tag
[line 2314]
Bugnote Linking if a number follows this tag it will create a link to a bugnote.
eg. for ~ a link would be ~45 eg. for bugnote: a link would be bugnote:98
Default value: '~'
string
$g_bugnote_order
[line 1387]
bugnote ordering
change to ASC or DESC
Default value: 'DESC'
int
$g_bug_assigned_status
[line 1706]
Status to assign to the bug when assigned.
Default value: ASSIGNED
int
$g_bug_closed_status_threshold
[line 1739]
Bug is closed. In some custom installations a bug may be considered as closed when it is moved to a custom (COMPLETED or IMPLEMENTED) status.
Default value: CLOSED
string
$g_bug_count_hyperlink_prefix
[line 2325]
Bug Count Linking this is the prefix to use when creating links to bug views from bug counts (eg. on the main page and the summary page).
Default is a temporary filter only change the filter this time - 'view_all_set.php?type=1&temporary=y' permanently change the filter - 'view_all_set.php?type=1';
Default value: 'view_all_set.php?type=1&temporary=y'
string
$g_bug_link_tag
[line 2305]
Bug Linking if a number follows this tag it will create a link to a bug.
eg. for # a link would be #45 eg. for bug: a link would be bug:98
Default value: '#'
string
$g_bug_list_cookie
[line 2491]
Default value: '%cookie_prefix%_BUG_LIST_COOKIE'
int
$g_bug_readonly_status_threshold
[line 1725]
Bug becomes readonly if its status is >= this status. The bug becomes read/write again if re-opened and its status becomes less than this threshold.
Default value: RESOLVED
int
$g_bug_reminder_threshold
[line 1944]
access level needed to send a reminder from the bug view pages
set to NOBODY to disable the feature
Default value: DEVELOPER
int
$g_bug_reopen_resolution
[line 1718]
Resolution to assign to the bug when reopened.
Default value: REOPENED
int
$g_bug_reopen_status
[line 1712]
Status to assign to the bug when reopened.
Default value: FEEDBACK
int
$g_bug_resolved_status_threshold
[line 1732]
Bug is resolved, ready to be closed or reopened. In some custom installations a bug may be considered as resolved when it is moved to a custom (FIXED or TESTED) status.
Default value: RESOLVED
int
$g_bug_submit_status
[line 1700]
Status to assign to the bug when submitted.
Default value: NEW_
int
$g_change_view_status_threshold
[line 2073]
Threshold needed to update the view status while updating a bug or a bug note.
This threshold should be greater or equal to $g_set_view_status_threshold.
Default value: UPDATER
int
$g_check_mx_record
[line 466]
set to OFF to disable email check Not supported under Windows.
Default value: OFF
string
$g_class_path
[line 189]
absolute path to class files. Requires trailing / or \
Default value: $g_core_path . 'classes' . DIRECTORY_SEPARATOR
string
$g_colour_global
[line 2424]
colours for configuration display
Default value: 'LightBlue'
string
$g_colour_project
[line 2418]
colours for configuration display
Default value: 'LightGreen'
string
$g_complete_date_format
[line 1080]
date format strings defaults to ISO 8601 formatting
go to http://www.php.net/manual/en/function.date.php for detailed instructions on date formatting
Default value: 'Y-m-d H:i T'
int
$g_compress_html
[line 2703]
Use compression of generated html if browser supports it If you already have compression enabled in your php.ini file (either with zlib.output_compression or output_handler=ob_gzhandler) this option will be ignored.
If you do not have zlib enabled in your PHP installation this option will also be ignored. PHP 4.3.0 and later have zlib included by default. Windows users should uncomment the appropriate line in their php.ini files to load the zlib DLL. You can check what extensions are loaded by running "php -m" at the command line (look for 'zlib')
Default value: ON
int
$g_content_expire
[line 1043]
minutes to wait before document is stale (in minutes)
Default value: 0
string
$g_cookie_domain
[line 2442]
Default value: ''
string
$g_cookie_path
[line 2436]
--- cookie path ---------------
set this to something more restrictive if needed http://www.php.net/manual/en/function.setcookie.php
Default value: '/'
string
$g_cookie_prefix
[line 2455]
--- cookie prefix --------------- set this to a unique identifier. No spaces.
Default value: 'MANTIS'
int
$g_cookie_time_length
[line 1037]
time for 'permanent' cookie to live in seconds (1 year)
Default value: 30000000
string
$g_cookie_version
[line 2448]
cookie version for view_all_page
Default value: 'v8'
string
$g_core_path
[line 183]
absolute patch to your core files. The default is usually OK, unless you moved the 'core' directory out of your webroot (recommended).
Default value: $g_absolute_path . 'core' . DIRECTORY_SEPARATOR
int
$g_create_permalink_threshold
[line 2527]
The threshold required for users to be able to create permalinks. To turn of this feature use NOBODY.
Default value: DEVELOPER
int
$g_create_project_threshold
[line 2018]
Threshold needed to create a new project
Default value: ADMINISTRATOR
string
$g_create_short_url
[line 2534]
The service to use to create a short URL. The %s will be replaced by the long URL.
To disable the feature set to ''.
Default value: 'http://tinyurl.com/create.php?url=%s'
string
$g_css_include_file
[line 2732]
CSS file
Default value: 'css/default.css'
array
$g_csv_columns
[line 864]
The default columns to be included in the CSV export.
This can be overriden using Manage -> Manage Configuration -> Manage Columns Also each user can configure their own columns using My Account -> Manage Columns
Default value: array ( 'id', 'project_id', 'reporter_id', 'handler_id', 'priority', 'severity', 'reproducibility', 'version', 'projection', 'category_id', 'date_submitted', 'eta', 'os', 'os_build', 'platform', 'view_state', 'last_updated', 'summary', 'status', 'resolution', 'fixed_in_version' )
string
$g_csv_separator
[line 2360]
CSV Export
Set the csv separator
Default value: ','
int
$g_custom_field_edit_after_create
[line 2931]
Whether to start editng a custom field immediately after creating it
Default value: ON
int
$g_custom_field_link_threshold
[line 2925]
Threshold needed to link/unlink custom field to/from a project
Default value: MANAGER
string
$g_custom_field_type_enum_string
[line 2673]
Default value: '0:string,1:numeric,2:float,3:enum,4:email,5:checkbox,6:list,7:multiselection list,8:date,9:radio'
array
$g_custom_group_actions
[line 3230]
Default value: array()
array
$g_custom_headers
[line 2771]
An array of headers to be sent with each page.
For example, to allow your MantisBT installation to be viewed in a frame in IE 6 when the frameset is not at the same hostname as the MantisBT install, you need to add a P3P header. You could try something like 'P3P: CP="CUR ADM"' in your config file, but make sure to check that the your policy actually matches with what you are promising. See http://msdn.microsoft.com/en-us/library/ms537343.aspx for more information.
Default value: array()
string
$g_cvs_web
[line 2250]
CVS linking
insert the URL to your CVSweb or ViewCVS eg: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mantisbt/mantisbt/
Default value: ''
string
$g_database_name
[line 63]
Name of database that contains MantisBT tables.
The default database name is "bugtracker".
Default value: 'bugtracker'
array
$g_date_partitions
[line 1363]
summary date displays
date lengths to count bugs by (in days)
Default value: array( 1, 2, 3, 7, 30, 60, 90, 180, 365)
string
$g_db_password
[line 57]
Password for the specified user name. The default password is empty.
Default value: ''
string
$g_db_schema
[line 69]
Database Schema Name - used in the case of db2.
Default value: ''
array
$g_db_table
[line 2556]
table names
Default value: '%db_table_prefix%_bug_file%db_table_suffix%'
string
$g_db_table_prefix
[line 2544]
table prefix
Default value: 'mantis'
string
$g_db_table_suffix
[line 2550]
table suffix
Default value: '_table'
string
$g_db_type
[line 77]
Defines the database type. The supported default is 'mysql'.
Supported types: 'mysql' or 'mysqli' for MySQL, 'pgsql' for PostgreSQL, 'odbc_mssql', 'mssql' for MS SQL Server, 'oci8' for Oracle, and 'db2' for DB2.
Default value: 'mysql'
string
$g_db_username
[line 52]
User name to use for connecting to the database. The user needs to have read/write access to the MantisBT database.
The default user name is "root".
Default value: 'root'
int
$g_debug_email
[line 2814]
Used for debugging e-mail feature, when set to OFF the emails work as normal.
when set to e-mail address, all e-mails are sent to this address with the original To, Cc, Bcc included in the message body.
Default value: OFF
int
$g_debug_timer
[line 2806]
used for development only. Leave OFF
Default value: OFF
int
$g_default_advanced_report
[line 1201]
Default value: OFF
int
$g_default_advanced_update
[line 1213]
Default value: OFF
int
$g_default_advanced_view
[line 1207]
Default value: OFF
string
$g_default_avatar
[line 950]
Default avatar for users without a gravatar account
Default value: "%path%images/no_avatar.png"
string
$g_default_bugnote_order
[line 1231]
Default value: 'ASC'
int
$g_default_bugnote_view_status
[line 1146]
Default Bugnote View Status (VS_PUBLIC or VS_PRIVATE)
Default value: VS_PUBLIC
string
$g_default_bug_additional_info
[line 1140]
Default value for addition information field.
Default value: ''
int
$g_default_bug_priority
[line 1158]
Default bug priority when reporting a new bug
Default value: NORMAL
int
$g_default_bug_reproducibility
[line 1164]
Default bug reproducibility when reporting a new bug
Default value: REPRODUCIBILITY_HAVENOTTRIED
int
$g_default_bug_severity
[line 1152]
Default bug severity when reporting a new bug
Default value: MINOR
string
$g_default_bug_steps_to_reproduce
[line 1134]
Default value for steps to reproduce field.
Default value: ''
int
$g_default_bug_view_status
[line 1128]
Default Bug View Status (VS_PUBLIC or VS_PRIVATE)
Default value: VS_PUBLIC
int
$g_default_email_bugnote_limit
[line 1345]
Default value: 0
int
$g_default_email_on_assigned
[line 1243]
Default value: ON
int
$g_default_email_on_assigned_minimum_severity
[line 1297]
'any'
Default value: OFF
int
$g_default_email_on_bugnote
[line 1273]
Default value: ON
int
$g_default_email_on_bugnote_minimum_severity
[line 1327]
'any'
Default value: OFF
int
$g_default_email_on_closed
[line 1261]
Default value: ON
int
$g_default_email_on_closed_minimum_severity
[line 1315]
'any'
Default value: OFF
int
$g_default_email_on_feedback
[line 1249]
Default value: ON
int
$g_default_email_on_feedback_minimum_severity
[line 1303]
'any'
Default value: OFF
int
$g_default_email_on_new
[line 1237]
Default value: ON
int
$g_default_email_on_new_minimum_severity
[line 1291]
'any'
Default value: OFF
int
$g_default_email_on_priority
[line 1285]
Default value: 0
Information Tags:
int
$g_default_email_on_priority_minimum_severity
[line 1339]
Default value: OFF
Information Tags:
int
$g_default_email_on_reopened
[line 1267]
Default value: ON
int
$g_default_email_on_reopened_minimum_severity
[line 1321]
'any'
Default value: OFF
int
$g_default_email_on_resolved
[line 1255]
Default value: ON
int
$g_default_email_on_resolved_minimum_severity
[line 1309]
'any'
Default value: OFF
int
$g_default_email_on_status
[line 1279]
Default value: 0
Information Tags:
int
$g_default_email_on_status_minimum_severity
[line 1333]
'any'
Default value: OFF
int
$g_default_graph_type
[line 1020]
initial graph type selected on bug_graph_page (see that page for possible values)
- asks user to select
Default value: 0
string
$g_default_home_page
[line 2748]
Default page after Login or Set Project
Default value: 'my_view_page.php'
string
$g_default_language
[line 611]
If the language is set to 'auto', the actual language is determined by the user agent (web browser) language preference.
Default value: 'english'
int
$g_default_limit_view
[line 1170]
Default value: 50
string
$g_default_manage_tag_prefix
[line 2353]
Default tag prefix used to filter the list of tags in manage_tags_page.php. Change this to 'A' (or any other letter) if you have a lot of tags in the system and loading the manage tags page takes a long time.
Default value: 'ALL'
string
$g_default_manage_user_prefix
[line 2344]
Default user name prefix used to filter the list of users in manage_user_page.php. Change this to 'A' (or any other letter) if you have a lot of users in the system and loading the manage users page takes a long time.
Default value: 'ALL'
int
$g_default_new_account_access_level
[line 1122]
signup default
look in constant_inc.php for values
Default value: REPORTER
array
$g_default_notify_flags
[line 421]
The following two config options allow you to control who should get email
notifications on different actions/statuses. The first option (default_notify_flags) sets the default values for different user categories. The user categories are:
'reporter': the reporter of the bug 'handler': the handler of the bug 'monitor': users who are monitoring a bug 'bugnotes': users who have added a bugnote to the bug 'explicit': users who are explicitly specified by the code based on the action (e.g. user added to monitor list). 'threshold_max': all users with access <= max 'threshold_min': ..and with access >= min
The second config option (notify_flags) sets overrides for specific actions/statuses. If a user category is not listed for an action, the default from the config option above is used. The possible actions are:
'new': a new bug has been added 'owner': a bug has been assigned to a new owner 'reopened': a bug has been reopened 'deleted': a bug has been deleted 'updated': a bug has been updated 'bugnote': a bugnote has been added to a bug 'sponsor': sponsorship has changed on this bug 'relation': a relationship has changed on this bug 'monitor': an issue is monitored. '<status>': eg: 'resolved', 'closed', 'feedback', 'acknowledged', ...etc. this list corresponds to $g_status_enum_string
If you wanted to have all developers get notified of new bugs you might add the following lines to your config file:
$g_notify_flags['new']['threshold_min'] = DEVELOPER; $g_notify_flags['new']['threshold_max'] = DEVELOPER;
You might want to do something similar so all managers are notified when a bug is closed. If you didn't want reporters to be notified when a bug is closed (only when it is resolved) you would use:
$g_notify_flags['closed']['reporter'] = OFF;
Default value: array('reporter' => ON,
'handler' => ON,
'monitor' => ON,
'bugnotes' => ON,
'explicit' => ON,
'threshold_min' => NOBODY,
'threshold_max' => NOBODY)
int
$g_default_redirect_delay
[line 1225]
in seconds
Default value: 2
int
$g_default_refresh_delay
[line 1219]
in minutes
Default value: 30
int
$g_default_reminder_view_status
[line 1429]
Default Reminder View Status (VS_PUBLIC or VS_PRIVATE)
Default value: VS_PUBLIC
int
$g_default_show_changed
[line 1176]
Default value: 6
int
$g_delete_attachments_threshold
[line 1841]
access level needed to delete bug attachments
Default value: DEVELOPER
string
$g_delete_bugnote_threshold
[line 2048]
Delete bugnote threshold
Default value: '%delete_bug_threshold%'
int
$g_delete_bug_threshold
[line 2042]
Delete bug threshold
Default value: DEVELOPER
int
$g_delete_project_threshold
[line 2012]
Threshold required to delete a project
Default value: ADMINISTRATOR
int
$g_development_team_threshold
[line 2153]
The minimum access level for someone to be a member of the development team and appear on the project information page.
Default value: DEVELOPER
int
$g_dhtml_filters
[line 2521]
This switch enables the use of xmlhttprequest protocol to speed up the filter display.
Rather than launching a separate page, the filters are updated in-line in the view_all_bugs_page.
Default value: ON
int
$g_differentiate_duplicates
[line 921]
leave off for now
Default value: OFF
string
$g_disallowed_files
[line 1566]
Default value: ''
int
$g_display_bugnote_padding
[line 2412]
The padding level when displaying bugnote ids
The bugnote id will be padded with 0's up to the size given
Default value: 7
int
$g_display_bug_padding
[line 2405]
The padding level when displaying bug ids
The bug id will be padded with 0's up to the size given
Default value: 7
array
$g_display_errors
[line 2868]
--- error display ---
what errors are displayed and how? The options for display are: 'halt' - stop and display traceback 'inline' - display 1 line error and continue 'none' - no error displayed A developer might set this in config_inc.php as: $g_display_errors = array( E_WARNING => 'halt', E_NOTICE => 'halt', E_USER_ERROR => 'halt', E_USER_WARNING => 'none', E_USER_NOTICE => 'none' );
Default value: array(
E_WARNING => 'inline',
E_NOTICE => 'none',
E_USER_ERROR => 'halt',
E_USER_WARNING => 'inline',
E_USER_NOTICE => 'none'
)
int
$g_display_project_padding
[line 2398]
The padding level when displaying project ids
The bug id will be padded with 0's up to the size given
Default value: 3
string
$g_document_files_prefix
[line 1573]
prefix to be used for the file system names of files uploaded to projects.
Eg: doc-001-myprojdoc.zip
Default value: 'doc'
string
$g_dot_tool
[line 3178]
Default value: '/usr/bin/dot'
int
$g_download_attachments_threshold
[line 1835]
access level needed to download bug attachments
Default value: VIEWER
int
$g_due_date_update_threshold
[line 3453]
threshold to update due date submitted
Default value: NOBODY
int
$g_due_date_view_threshold
[line 3459]
threshold to see due date
Default value: NOBODY
int
$g_email_padding_length
[line 583]
email separator and padding
Default value: 28
int
$g_email_receive_own
[line 454]
Whether user's should receive emails for their own actions
Default value: OFF
int
$g_email_send_using_cronjob
[line 558]
It is recommended to use a cronjob or a scheduler task to send emails.
The cronjob should typically run every 5 minutes. If no cronjob is used, then user will have to wait for emails to be sent after performing an action which triggers notifications. This slows user performance.
Default value: OFF
string
$g_email_separator1
[line 573]
email separator and padding
Default value: str_pad('', 70, '=')
string
$g_email_separator2
[line 578]
email separator and padding
Default value: str_pad('', 70, '-')
int
$g_email_set_category
[line 567]
Specify whether e-mails should be sent with the category set or not. This is tested with Microsoft Outlook. More testing for this feature + other formats will be added in the future.
OFF, EMAIL_CATEGORY_PROJECT_CATEGORY (format: [Project] Category)
Default value: OFF
int
$g_enable_email_notification
[line 373]
allow email notification note that if this is disabled, sign-up and password reset messages will not be sent.
Default value: ON
int
$g_enable_eta
[line 2173]
Enable or disable display of the ETA field.
Default value: ON
int
$g_enable_product_build
[line 2179]
Enable or disable display of the Product Build field.
Default value: ON
int
$g_enable_profiles
[line 3382]
Enable Profiles
Default value: ON
int
$g_enable_project_documentation
[line 793]
Specifies whether to enable support for project documents or not.
Default value: ON
int
$g_enable_sponsorship
[line 1446]
Whether to enable/disable the whole issue sponsorship feature
Default value: OFF
string
$g_eta_enum_string
[line 2661]
Default value: '10:none,20:< 1 day,30:2-3 days,40:< 1 week,50:< 1 month,60:> 1 month'
array
$g_excel_columns
[line 872]
The default columns to be included in the Excel export.
This can be overriden using Manage -> Manage Configuration -> Manage Columns Also each user can configure their own columns using My Account -> Manage Columns
Default value: array ( 'id', 'project_id', 'reporter_id', 'handler_id', 'priority', 'severity', 'reproducibility', 'version', 'projection', 'category_id', 'date_submitted', 'eta', 'os', 'os_build', 'platform', 'view_state', 'last_updated', 'summary', 'status', 'resolution', 'fixed_in_version' )
string
$g_fallback_language
[line 717]
Fallback for automatic language selection
Default value: 'english'
string
$g_favicon_image
[line 745]
Favicon image
Default value: 'images/favicon.ico'
array
$g_file_type_icons
[line 2960]
Maps a file extension to a file type icon. These icons are printed next to project documents and bug attachments.
Note:
- Extensions must be in lower case
- All icons will be displayed as 16x16 pixels.
Default value: array(
'7z' => 'zip.gif',
'ace' => 'zip.gif',
'arj' => 'zip.gif',
'bz2' => 'zip.gif',
'c' => 'cpp.gif',
'chm' => 'chm.gif',
'cpp' => 'cpp.gif',
'css' => 'css.gif',
'csv' => 'csv.gif',
'cxx' => 'cpp.gif',
'doc' => 'doc.gif',
'docx' => 'doc.gif',
'dot' => 'doc.gif',
'eml' => 'eml.gif',
'htm' => 'html.gif',
'html' => 'html.gif',
'gif' => 'gif.gif',
'gz' => 'zip.gif',
'jpe' => 'jpg.gif',
'jpg' => 'jpg.gif',
'jpeg' => 'jpg.gif',
'log' => 'text.gif',
'lzh' => 'zip.gif',
'mhtml' => 'html.gif',
'mid' => 'mid.gif',
'midi' => 'mid.gif',
'mov' => 'mov.gif',
'msg' => 'eml.gif',
'one' => 'one.gif',
'pcx' => 'pcx.gif',
'pdf' => 'pdf.gif',
'png' => 'png.gif',
'pot' => 'pot.gif',
'pps' => 'pps.gif',
'ppt' => 'ppt.gif',
'pptx' => 'ppt.gif',
'pub' => 'pub.gif',
'rar' => 'zip.gif',
'reg' => 'reg.gif',
'rtf' => 'doc.gif',
'tar' => 'zip.gif',
'tgz' => 'zip.gif',
'txt' => 'text.gif',
'uc2' => 'zip.gif',
'vsd' => 'vsd.gif',
'vsl' => 'vsl.gif',
'vss' => 'vsd.gif',
'vst' => 'vst.gif',
'vsu' => 'vsd.gif',
'vsw' => 'vsd.gif',
'vsx' => 'vsd.gif',
'vtx' => 'vst.gif',
'wav' => 'wav.gif',
'wbk' => 'wbk.gif',
'wma' => 'wav.gif',
'wmv' => 'mov.gif',
'wri' => 'wri.gif',
'xlk' => 'xls.gif',
'xls' => 'xls.gif',
'xlsx' => 'xls.gif',
'xlt' => 'xlt.gif',
'xml' => 'xml.gif',
'zip' => 'zip.gif',
'?' => 'generic.gif' )
string
$g_file_upload_ftp_pass
[line 1544]
Default value: 'readwritepass'
string
$g_file_upload_ftp_server
[line 1532]
FTP settings, used if $g_file_upload_method = FTP
Default value: 'ftp.myserver.com'
string
$g_file_upload_ftp_user
[line 1538]
Default value: 'readwriteuser'
int
$g_file_upload_method
[line 1514]
Upload destination: specify actual location in project settings DISK, DATABASE, or FTP.
Default value: DATABASE
int
$g_filter_by_custom_fields
[line 2501]
Default value: ON
int
$g_filter_custom_fields_per_row
[line 2507]
Default value: 8
int
$g_filter_position
[line 900]
Position of the filter box, can be: FILTER_POSITION_* FILTER_POSITION_TOP, FILTER_POSITION_BOTTOM, or 0 for none.
Default value: FILTER_POSITION_TOP
string
$g_font_per_captcha
[line 317]
font name used to create the captcha image. i.e. arial.ttf
(the font file has to exist in the system_font_folder)
Default value: 'arial.ttf'
int
$g_forward_year_count
[line 3199]
Default value: 4
string
$g_from_email
[line 353]
the sender email, part of 'From: ' header in emails
Default value: 'noreply@example.com'
string
$g_from_name
[line 359]
the sender name, part of 'From: ' header in emails
Default value: 'Mantis Bug Tracker'
array
$g_global_settings
[line 251]
The following list of variables should never be in the database.
These patterns will be concatenated and used as a regular expression to bypass the database lookup and look here for appropriate global settings.
Default value: array(
'_table$', 'cookie', '^db_', 'hostname', 'allow_signup', 'database_name', 'show_queries_count', 'admin_checks', 'version_suffix',
'_path$', 'use_iis', 'language', 'use_javascript', 'display_errors', 'show_detailed_errors', 'stop_on_errors', 'login_method', '_file$',
'anonymous', 'content_expire', 'html_valid_tags', 'custom_headers', 'rss_key_seed', 'plugins_enabled', 'session_',
)
float
$g_graph_bar_aspect
[line 1007]
bar graph aspect ration (height / width)
Default value: 0.9
array
$g_graph_colors
[line 1026]
graph colours, once the list is exhausted it will repeat
Default value: array('coral', 'red', 'blue', 'black', 'green', 'orange', 'pink', 'brown', 'gray',
'blueviolet','chartreuse','magenta','purple3','teal','tan','olivedrab','magenta')
string
$g_graph_font
[line 995]
what truetype font will the graphs use. Allowed values are 'arial', 'verdana', 'courier', 'book', 'comic', 'times', 'georgia', 'trebuche', 'vera', 'veramono', or 'veraserif'. Refer to the jpgraph manual for details.
NOTE: these fonts need to be installed in the TTF_DIR as specified to jpgraph
Default value: ''
int
$g_graph_summary_graphs_per_row
[line 1013]
how many graphs to put in each row in the advanced summary page
Default value: 2
int
$g_graph_window_width
[line 1001]
what width is used to scale the graphs.
Default value: 800
int
$g_handle_bug_threshold
[line 1907]
access level needed to be able to be listed in the assign to field.
Default value: DEVELOPER
int
$g_handle_sponsored_bugs_threshold
[line 1477]
Access level required to be able to handle sponsored issues.
Default value: DEVELOPER
int
$g_hide_status_default
[line 1182]
Default value: CLOSED
int
$g_history_default_visible
[line 1398]
bug history visible by default when you view a bug
change to ON or OFF
Default value: ON
string
$g_history_order
[line 1405]
bug history ordering
change to ASC or DESC
Default value: 'ASC'
string
$g_hostname
[line 46]
hostname should be either a hostname or connection string to supply to adodb.
For example, if you would like to connect to a database server on the local machine, set hostname to 'localhost' If you need to supply a port to connect to, set hostname as 'localhost:3306'.
Default value: 'localhost'
int
$g_hr_size
[line 1632]
Horizontal Rule Size
Default value: 1
int
$g_hr_width
[line 1638]
Horizontal Rule Width
Default value: 50
int
$g_html_make_links
[line 1591]
html tags
Set this flag to automatically convert www URLs and email adresses into clickable links
Default value: ON
string
$g_html_valid_tags
[line 1599]
These are the valid html tags for multi-line fields (e.g. description)
do NOT include href or img tags here do NOT include tags that have parameters (eg. <font face="arial">)
Default value: 'p, li, ul, ol, br, pre, i, b, u, em'
string
$g_html_valid_tags_single_line
[line 1607]
These are the valid html tags for single line fields (e.g. issue summary).
do NOT include href or img tags here do NOT include tags that have parameters (eg. <font face="arial">)
Default value: 'i, b, u, em'
string
$g_icon_path
[line 163]
path to your images directory (for icons)
requires trailing /
Default value: '%path%images/'
string
$g_inline_file_exts
[line 1829]
list of filetypes to view inline. This is a string of extentions separated by commas This is used when downloading an attachment. Rather than downloading, the attachment is viewed in the browser.
Default value: 'gif,png,jpg,jpeg,bmp'
int
$g_jpgraph_antialias
[line 987]
use antialiasing - Enabling anti-aliasing will greatly improve the visual apperance of certain graphs.
Note: Using anti-aliasing makes line drawing roughly 8 time slower than normal lines
Default value: ON
string
$g_jpgraph_path
[line 980]
path to jpgraph installation - dont forget the ending slash!
Default value: '.' . DIRECTORY_SEPARATOR . 'jpgraph' . DIRECTORY_SEPARATOR
array
$g_language_auto_map
[line 669]
Browser language mapping for 'auto' language selection
Default value: array(
'ar' => 'arabic',
'arz' => 'arabicegyptianspoken',
'bg' => 'bulgarian',
'ca' => 'catalan',
'zh-cn, zh-sg, zh' => 'chinese_simplified',
'zh-hk, zh-tw' => 'chinese_traditional',
'cs' => 'czech',
'da' => 'danish',
'nl-be, nl' => 'dutch',
'en-us, en-gb, en-au, en' => 'english',
'et' => 'estonian',
'fi' => 'finnish',
'fr-ca, fr-be, fr-ch, fr' => 'french',
'gl' => 'galician',
'de-de, de-at, de-ch, de' => 'german',
'he' => 'hebrew',
'hu' => 'hungarian',
'hr' => 'croatian',
'is' => 'icelandic',
'it-ch, it' => 'italian',
'ja' => 'japanese',
'ko' => 'korean',
'lt' => 'lithuanian',
'lv' => 'latvian',
'no' => 'norwegian_bokmal',
'nn' => 'norwegian_nynorsk',
'oc' => 'occitan',
'pl' => 'polish',
'pt-br' => 'portuguese_brazil',
'pt' => 'portuguese_standard',
'ro-mo, ro' => 'romanian',
'ru-mo, ru-ru, ru-ua, ru' => 'russian',
'sr' => 'serbian',
'sk' => 'slovak',
'sl' => 'slovene',
'es-mx, es-co, es-ar, es-cl, es-pr, es' => 'spanish',
'sv-fi, sv' => 'swedish',
'tl' => 'tagalog',
'tr' => 'turkish',
'uk' => 'ukrainian',
'vo' => 'volapuk',
)
array
$g_language_choices_arr
[line 617]
list the choices that the users are allowed to choose
Default value: array(
'auto',
'arabic',
'arabicegyptianspoken',
'bulgarian',
'catalan',
'chinese_simplified',
'chinese_traditional',
'croatian',
'czech',
'danish',
'dutch',
'english',
'estonian',
'finnish',
'french',
'galician',
'german',
'german_eintrag',
'greek',
'hebrew',
'hungarian',
'icelandic',
'italian',
'japanese',
'korean',
'latvian',
'lithuanian',
'norwegian_bokmal',
'norwegian_nynorsk',
'occitan',
'polish',
'portuguese_brazil',
'portuguese_standard',
'romanian',
'russian',
'serbian',
'slovak',
'slovene',
'spanish',
'swedish',
'tagalog',
'turkish',
'ukrainian',
'urdu',
'volapuk',
)
string
$g_ldap_bind_dn
[line 1672]
Default value: ''
string
$g_ldap_bind_passwd
[line 1678]
Default value: ''
string
$g_ldap_organization
[line 1660]
e.g. '(organizationname=*Traffic)'
Default value: ''
int
$g_ldap_protocol_version
[line 1690]
The LDAP Protocol Version, if 0, then the protocol version is not set.
Default value: 0
string
$g_ldap_root_dn
[line 1654]
Default value: 'dc=example,dc=com,dc=au'
string
$g_ldap_server
[line 1648]
Default value: 'ldaps://ldap.example.com.au/'
string
$g_ldap_uid_field
[line 1666]
Use 'sAMAccountName' for Active Directory
Default value: 'uid'
string|int
$g_limit_email_domain
[line 483]
Only allow and send email to addresses in the given domain
For example: $g_limit_email_domain = 'users.sourceforge.net';
Default value: OFF
int
$g_limit_reporters
[line 2194]
limit reporters Set to ON if you wish to limit reporters to only viewing bugs that they report.
Default value: OFF
int
$g_login_method
[line 2187]
login method CRYPT or PLAIN or MD5 or LDAP or BASIC_AUTH You can simply change this at will. MantisBT will try to figure out how the passwords were encrypted.
Default value: MD5
string
$g_logout_cookie
[line 2485]
Default value: '%cookie_prefix%_LOGOUT_COOKIE'
string
$g_logout_redirect_page
[line 2754]
Specify where the user should be sent after logging out.
Default value: 'login_page.php'
string
$g_logo_image
[line 751]
Logo
Default value: 'images/mantis_logo.gif'
string
$g_logo_url
[line 757]
Logo URL link
Default value: '%default_home_page%'
string
$g_log_destination
[line 2909]
Default value: ''
int
$g_log_level
[line 2903]
--- system logging ---
This controls the logging of information to a separate file for debug or audit $g_log_level controls what information is logged see constant_inc.php for details on the log channels available e.g., $g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT | LOG_FILTERING | LOG_AJAX;
$g_log_destination specifies the file where the data goes right now, only "file:<file path>" is supported e.g. (Linux), $g_log_destination = 'file:/tmp/mantisbt.log'; e.g. (Windows), $g_log_destination = 'file:c:/temp/mantisbt.log'; see http://www.php.net/error_log for details
Default value: LOG_NONE
int
$g_long_process_timeout
[line 1052]
The time (in seconds) to allow for page execution during long processes such as upgrading your database.
The default value of 0 indicates that the page should be allowed to execute until it is finished.
Default value: 0
int
$g_lost_password_feature
[line 323]
Setting to disable the 'lost your password' feature.
Default value: ON
int
$g_mail_priority
[line 503]
If use_x_priority is set to ON, what should the value be?
Urgent = 1, Not Urgent = 5, Disable = 0 Note: some MTAs interpret X-Priority = 0 to mean 'Very Urgent'
Default value: 3
array
$g_main_menu_custom_options
[line 2946]
Add custom options to the main menu. For example:
$g_main_menu_custom_options = array( array( "My Link", MANAGER, 'my_link.php' ), array( "My Link2", ADMINISTRATOR, 'my_link2.php' ) ); Note that if the caption is found in custom_strings_inc.php, then it will be replaced by the translated string. Options will only be added to the menu if the current logged in user has the appropriate access level.
Default value: array()
string
$g_manage_cookie
[line 2479]
Default value: '%cookie_prefix%_MANAGE_COOKIE'
int
$g_manage_custom_fields_threshold
[line 2919]
Threshold needed to manage custom fields
Default value: ADMINISTRATOR
int
$g_manage_global_profile_threshold
[line 3394]
Threshold needed to be able to create and modify global profiles
Default value: MANAGER
int
$g_manage_news_threshold
[line 2006]
Threshold needed to add/delete/modify news
Default value: MANAGER
int
$g_manage_plugin_threshold
[line 3443]
management threshold.
Default value: ADMINISTRATOR
int
$g_manage_project_threshold
[line 2000]
Threshold needed to manage a project: edit project details (not to add/delete projects), upload documentation, ...etc.
Default value: MANAGER
int
$g_manage_site_threshold
[line 1987]
Site manager
Default value: MANAGER
int
$g_manage_user_threshold
[line 2036]
Threshold needed to manage user accounts
Default value: ADMINISTRATOR
string
$g_manual_url
[line 195]
Used to link to manual for User Documentation.
Default value: 'http://manual.mantisbt.org/'
int
$g_max_dropdown_length
[line 1614]
maximum length of the description in a dropdown menu (for search)
set to 0 to disable truncations
Default value: 40
int
$g_max_failed_login_count
[line 275]
Max. attempts to login using a wrong password before lock the account.
When locked, it's required to reset the password (lost password) Value resets to zero at each successfully login Set to OFF to disable this control
Default value: OFF
int
$g_max_file_size
[line 1551]
Maximum file size that can be uploaded
Also check your PHP settings (default is usually 2MBs)
Default value: 5000000
int
$g_max_lost_password_in_progress_count
[line 331]
Max. simultaneous requests of 'lost password'
When this value is reached, it's no longer possible to request new password reset Value resets to zero at each successfully login
Default value: 3
string
$g_meta_include_file
[line 2738]
meta tags
Default value: '%absolute_path%meta_inc.php'
int
$g_minimum_sponsorship_amount
[line 1490]
Minimum sponsorship amount. If the user enters a value less than this, an error will be prompted.
Default value: 5
int
$g_min_refresh_delay
[line 1195]
make sure people aren't refreshing too often
in minutes
Default value: 10
int
$g_monitor_add_others_bug_threshold
[line 1894]
access level needed to add other users to monitor bugs
Look in the constant_inc.php file if you want to set a different value
Default value: DEVELOPER
int
$g_monitor_bug_threshold
[line 1887]
access level needed to monitor bugs
Look in the constant_inc.php file if you want to set a different value
Default value: REPORTER
int
$g_move_bug_threshold
[line 2060]
Move bug threshold
Default value: DEVELOPER
array
$g_my_view_boxes
[line 3073]
Default value: array (
'assigned' => '1',
'unassigned' => '2',
'reported' => '3',
'resolved' => '4',
'recent_mod' => '5',
'monitored' => '6',
'feedback' => '0',
'verify' => '0'
)
int
$g_my_view_boxes_fixed_position
[line 3088]
Toggle whether 'My View' boxes are shown in a fixed position (i.e. adjacent boxes start at the same vertical position)
Default value: ON
int
$g_my_view_bug_count
[line 3066]
Default value: 10
string
$g_neato_tool
[line 3185]
Default value: '/usr/bin/neato'
int
$g_news_limit_method
[line 1093]
Limit News Items
limit by entry count or date BY_LIMIT - entry limit BY_DATE - by date
Default value: BY_LIMIT
int
$g_news_view_limit
[line 1099]
limit by last X entries
Default value: 7
int
$g_news_view_limit_days
[line 1105]
limit by days
Default value: 30
string
$g_normal_date_format
[line 1072]
date format strings defaults to ISO 8601 formatting
go to http://www.php.net/manual/en/function.date.php for detailed instructions on date formatting
Default value: 'Y-m-d H:i'
array
$g_notify_flags
[line 439]
We don't need to send these notifications on new bugs
(see above for info on this config option)
Default value: array('bugnotes' => OFF,
'monitor' => OFF)
API Tags:
Information Tags:
| Todo: | (though I'm not sure they need to be turned off anymore - there just won't be anyone in those categories)
I guess it serves as an example and a placeholder for this config option |
int
$g_notify_new_user_created_threshold_min
[line 281]
access level required to be notified when a new user has been created using the "signup form"
Default value: ADMINISTRATOR
string
$g_page_title
[line 733]
title at top of html page (empty by default, since there is a logo now)
Default value: ''
int
$g_password_confirm_hash_magic_string
[line 297]
String used to generate the confirm_hash for the 'lost password' feature and captcha code for 'signup'
ATTENTION: CHANGE IT TO WHATEVER VALUE YOU PREFER
Default value: 'blowfish'
Information Tags:
| Todo: | randomize + admin check |
string
$g_path
[line 156]
path to your installation as seen from the web browser
requires trailing /
Default value: isset( $t_url ) ? $t_url : 'http://www.example.com/mantisbt/'
int
$g_phpMailer_method
[line 512]
select the method to mail by:
PHPMAILER_METHOD_MAIL - mail() PHPMAILER_METHOD_SENDMAIL - sendmail PHPMAILER_METHOD_SMTP - SMTP
Default value: PHPMAILER_METHOD_MAIL
int
$g_plugins_enabled
[line 3431]
enable/disable plugins
Default value: ON
string
$g_plugin_path
[line 3437]
absolute path to plugin files.
Default value: $g_absolute_path . 'plugins' . DIRECTORY_SEPARATOR
int
$g_preview_attachments_inline_max_size
[line 1776]
Specifies the maximum size (in bytes) below which an attachment is previewed in the bug view pages.
To disable the previewing of attachments, set max size to 0.
Default value: 256 * 1024
array
$g_preview_image_extensions
[line 1788]
Extensions for images that can be expanded inline.
Default value: array( 'bmp', 'png', 'gif', 'jpg', 'jpeg' )
int
$g_preview_max_height
[line 1802]
Specifies the maximum height for the auto-preview feature. If no maximum height should be imposed then it should be set to 0.
Default value: 250
int
$g_preview_max_width
[line 1795]
Specifies the maximum width for the auto-preview feature. If no maximum width should be imposed then it should be set to 0.
Default value: 0
array
$g_preview_text_extensions
[line 1782]
Extensions for text files that can be expanded inline.
Default value: array( 'txt', 'diff', 'patch' )
array
$g_print_issues_page_columns
[line 856]
The default columns to be included in the Print Issues Page.
This can be overriden using Manage -> Manage Configuration -> Manage Columns Also each user can configure their own columns using My Account -> Manage Columns
Default value: array ( 'selection', 'priority', 'id', 'sponsorship_total', 'bugnotes_count', 'attachment', 'category_id', 'severity', 'status', 'last_updated', 'summary' )
string
$g_priority_enum_string
[line 2623]
Default value: '10:none,20:low,30:normal,40:high,50:urgent,60:immediate'
int
$g_private_bugnote_threshold
[line 1923]
access level needed to view private bugnotes
Look in the constant_inc.php file if you want to set a different value
Default value: DEVELOPER
int
$g_private_bug_threshold
[line 1901]
access level needed to view private bugs
Look in the constant_inc.php file if you want to set a different value
Default value: DEVELOPER
int
$g_private_news_threshold
[line 1111]
threshold for viewing private news
Default value: DEVELOPER
int
$g_private_project_threshold
[line 2024]
Threshold needed to be automatically included in private projects
Default value: ADMINISTRATOR
string
$g_projection_enum_string
[line 2655]
Default value: '10:none,30:tweak,50:minor fix,70:major rework,90:redesign'
string
$g_project_cookie
[line 2467]
Default value: '%cookie_prefix%_PROJECT_COOKIE'
string
$g_project_status_enum_string
[line 2605]
Default value: '10:development,30:release,50:stable,70:obsolete'
int
$g_project_user_threshold
[line 2030]
Threshold needed to manage user access to a project
Default value: MANAGER
string
$g_project_view_state_enum_string
[line 2611]
Default value: '10:public,50:private'
int
$g_reauthentication
[line 763]
Re-authentication required for admin areas
Default value: ON
int
$g_reauthentication_expiry
[line 769]
Default value: TOKEN_EXPIRY_AUTHENTICATED
int
$g_recently_visited
[line 3268]
Whether to show the most recently visited issues or not. At the moment we always track them even if this flag is off.
Default value: ON
int
$g_recently_visited_count
[line 3274]
The maximum number of issues to keep in the recently visited list.
Default value: 5
int
$g_relationship_graph_enable
[line 3130]
Enable relationship graphs support.
Show issue relationships using graphs.
In order to use this feature, you must first install either GraphViz (all OSs except Windows) or WinGraphviz (only Windows).
Graphviz homepage: http://www.research.att.com/sw/tools/graphviz/ WinGraphviz homepage: http://home.so-net.net.tw/oodtsen/wingraphviz/
Refer to the notes near the top of core/graphviz_api.php and core/relationship_graph_api.php for more information.
Default value: OFF
string
$g_relationship_graph_fontname
[line 3138]
Default value: 'Arial'
int
$g_relationship_graph_fontsize
[line 3144]
Default value: 8
int
$g_relationship_graph_max_depth
[line 3161]
Default value: 2
string
$g_relationship_graph_orientation
[line 3152]
Default value: 'horizontal'
int
$g_relationship_graph_view_on_click
[line 3170]
Default value: OFF
int
$g_reminder_receive_threshold
[line 1436]
The minimum access level required to show up in the list of users who can receive a reminder.
The access level is that of the project to which the issue belongs.
Default value: DEVELOPER
int
$g_reminder_recipents_monitor_bug
[line 1423]
Automatically add recipients of reminders to monitor list, if they are not the handler or the reporter (since they automatically get notified, if required) If recipients of the reminders are below the monitor threshold, they will not be added.
Default value: ON
int
$g_reopen_bug_threshold
[line 2134]
access level needed to re-open bugs
Default value: DEVELOPER
int
$g_reporter_summary_limit
[line 1356]
how many reporters to show
this is useful when there are hundreds of reporters
Default value: 10
int
$g_report_bug_threshold
[line 1872]
access level needed to report a bug
Default value: REPORTER
int
$g_report_issues_for_unreleased_versions_threshold
[line 2140]
access level needed to assign bugs to unreleased product versions
Default value: DEVELOPER
string
$g_reproducibility_enum_string
[line 2634]
Default value: '10:always,30:sometimes,50:random,70:have not tried,90:unable to duplicate,100:N/A'
string
$g_resolution_enum_string
[line 2649]
Default value: '10:open,20:fixed,30:reopened,40:unable to duplicate,50:not fixable,60:duplicate,70:not a bug,80:suspended,90:wont fix'
string
$g_return_path_email
[line 365]
the return address for bounced mail
Default value: 'admin@example.com'
int
$g_roadmap_update_threshold
[line 2122]
threshold for updating roadmap, target_version, etc
Default value: DEVELOPER
int
$g_roadmap_view_threshold
[line 2116]
threshold for viewing roadmap
Default value: VIEWER
int
$g_rss_enabled
[line 3100]
Default value: ON
string
$g_rss_key_seed
[line 3110]
Default value: '%db_username%'
int
$g_send_reset_password
[line 289]
if ON users will be sent their password when reset.
if OFF the password will be set to blank. If set to ON, mail settings must be correctly configured.
Default value: ON
string
$g_session_handler
[line 220]
Session handler. Possible values:
'php' -> Default PHP filesystem sessions 'adodb' -> Database storage sessions 'memcached' -> Memcached storage sessions
Default value: 'php'
string
$g_session_key
[line 226]
Session key name. Should be unique between multiple installations to prevent conflicts.
Default value: 'MantisBT'
bool
$g_session_save_path
[line 232]
Session save path. If false, uses default value as set by session handler.
Default value: false
int
$g_session_validation
[line 239]
Session validation
WARNING: Disabling this could be a potential security risk!!
Default value: ON
int
$g_set_bug_sticky_threshold
[line 2146]
access level needed to set a bug sticky
Default value: MANAGER
int
$g_set_configuration_threshold
[line 2375]
threshold for users to set the system configurations generically via MantisBT web interface.
WARNING: Users who have access to set configuration via the interface MUST be trusted. This is due to the fact that such users can set configurations to PHP code and hence there can be a security risk if such users are not trusted.
Default value: ADMINISTRATOR
array
$g_set_status_threshold
[line 2161]
this array sets the access thresholds needed to enter each status listed.
if a status is not listed, it falls back to $g_update_bug_status_threshold example: $g_set_status_threshold = array( ACKNOWLEDGED => MANAGER, CONFIRMED => DEVELOPER, CLOSED => MANAGER );
Default value: array()
int
$g_set_view_status_threshold
[line 2066]
Threshold needed to set the view status while reporting a bug or a bug note.
Default value: REPORTER
string
$g_severity_enum_string
[line 2628]
Default value: '10:feature,20:trivial,30:text,40:tweak,50:minor,60:major,70:crash,80:block'
string
$g_short_date_format
[line 1064]
date format strings defaults to ISO 8601 formatting
go to http://www.php.net/manual/en/function.date.php for detailed instructions on date formatting
Default value: 'Y-m-d'
string
$g_short_path
[line 170]
Short web path without the domain name
requires trailing /
Default value: $t_path . '/'
int
$g_show_assigned_names
[line 820]
show assigned to names
This is in the view all pages
Default value: ON
int
$g_show_attachment_indicator
[line 1814]
Show an attachment indicator on bug list Show a clickable attachment indicator on the bug list page if the bug has one or more files attached.
Note: This option is disabled by default since it adds
- database query per bug listed and thus might slow
down the page display.
Default value: OFF
int
$g_show_avatar
[line 938]
Show user avatar
the current implementation is based on http://www.gravatar.com users will need to register there the same address used in this MantisBT installation to have their avatar shown Please note: upon registration or avatar change, it takes some time for the updated gravatar images to show on sites
Default value: OFF
int
$g_show_avatar_threshold
[line 944]
Only users above this threshold will have their avatar shown
Default value: DEVELOPER
int
$g_show_bug_project_links
[line 878]
show projects when in All Projects mode
Default value: ON
int
$g_show_changelog_dates
[line 956]
Show release dates on changelog
Default value: ON
int
$g_show_detailed_errors
[line 2849]
--- detailed error messages -----
Shows a list of variables and their values when an error is triggered Only applies to error types configured to 'halt' in $g_display_errors, below WARNING: Potential security hazard. Only turn this on when you really need it for debugging
Default value: OFF
int
$g_show_extended_project_browser
[line 813]
show extra dropdown for subprojects Shows only top projects in the project dropdown and adds an extra dropdown for subprojects.
Default value: OFF
int
$g_show_footer_menu
[line 799]
Display another instance of the menu at the bottom. The top menu will still remain.
Default value: OFF
int
$g_show_monitor_list_threshold
[line 2079]
Threshold needed to show the list of users montoring a bug on the bug view pages.
Default value: DEVELOPER
int
$g_show_priority_text
[line 828]
show priority as icon
OFF: Shows priority as icon in view all bugs page ON: Shows priority as text in view all bugs page
Default value: OFF
int
$g_show_product_version
[line 909]
show product versions in create, view and update screens
ON forces display even if none are defined OFF suppresses display AUTO suppresses the display if there are no versions defined for the project
Default value: AUTO
int
$g_show_project_menu_bar
[line 805]
show extra menu bar with all available projects
Default value: OFF
int
$g_show_queries_count
[line 2820]
Shows the total number/unique number of queries executed to serve the page.
Default value: ON
int
$g_show_queries_list
[line 2839]
Shows the list of all queries that are executed in chronological order from top to bottom. This option is only effective when $g_show_queries_count is ON.
WARNING: Potential security hazard. Only turn this on when you really need it (for debugging/profiling)
Default value: OFF
int
$g_show_queries_threshold
[line 2830]
Indicates the access level required for a user to see the queries count / list.
This only has an effect if $g_show_queries_count is ON. Note that this threshold is compared against the user's default global access level rather than the threshold based on the current active project.
Default value: ADMINISTRATOR
int
$g_show_realname
[line 915]
show users with their real name or not
Default value: OFF
int
$g_show_report
[line 775]
BOTH, SIMPLE_ONLY, ADVANCED_ONLY
Default value: BOTH
int
$g_show_roadmap_dates
[line 962]
Show release dates on roadmap
Default value: ON
string
$g_show_sticky_issues
[line 1188]
Default value: 'on'
int
$g_show_timer
[line 2800]
Time page loads. Shows at the bottom of the page.
Default value: OFF
int
$g_show_update
[line 781]
BOTH, SIMPLE_ONLY, ADVANCED_ONLY
Default value: BOTH
int
$g_show_user_email_threshold
[line 489]
This specifies the access level that is needed to get the mailto: links.
Default value: NOBODY
int
$g_show_user_realname_threshold
[line 495]
This specifies the access level that is needed to see realnames on user view page
Default value: NOBODY
int
$g_show_version
[line 593]
Set to off by default to not expose version to users
Default value: OFF
int
$g_show_view
[line 787]
BOTH, SIMPLE_ONLY, ADVANCED_ONLY
Default value: BOTH
int
$g_signup_use_captcha
[line 303]
use captcha image to validate subscription it requires GD library installed
Default value: ON
string
$g_smtp_connection_mode
[line 542]
This control the connection mode to SMTP server. Can be 'ssl' or 'tls'
Default value: ''
string
$g_smtp_host
[line 522]
This option allows you to use a remote SMTP host. Must use the phpMailer script One or more hosts, separated by a semicolon, can be listed.
You can also specify a different port for each host by using this format: [hostname:port] (e.g. "smtp1.example.com:25;smtp2.example.com"). Hosts will be tried in order.
Default value: 'localhost'
string
$g_smtp_password
[line 536]
SMTP Server Authentication password
Default value: ''
int
$g_smtp_port
[line 549]
The smtp port to use. The typical SMTP ports are 25 and 587. The port to use will depend on the SMTP server configuration and hence others may be used.
Default value: 25
string
$g_smtp_username
[line 530]
These options allow you to use SMTP Authentication when you use a remote SMTP host with phpMailer. If smtp_username is not '' then the username and password will be used when logging in to the SMTP server.
Default value: ''
int
$g_sort_by_last_name
[line 927]
sorting for names in dropdown lists. If turned on, "Jane Doe" will be sorted with the "D"s
Default value: OFF
array
$g_sort_icon_arr
[line 3044]
Sort direction to icon mapping
Default value: array (
ASCENDING => 'up.gif',
DESCENDING => 'down.gif'
)
string
$g_source_control_account
[line 2265]
Account to be used by the source control script. The account must be enabled and must have the appropriate access level to add notes to all issues even private ones (DEVELOPER access recommended).
Default value: ''
string
$g_source_control_fixed_regexp
[line 2296]
Regular expression used to detect the fact that an issue is fixed and extracts its issue id. If there is a match to this regular expression, then the issue will be marked as resolved and the resolution will be set to fixed.
Default value: "%source_control_regexp%"
int
$g_source_control_notes_view_status
[line 2257]
For open source projects it is expected that the notes be public, however, for non-open source it will probably be VS_PRIVATE.
Default value: VS_PRIVATE
string
$g_source_control_regexp
[line 2288]
Regular expression used to detect issue ids within checkin comments.
see preg_match_all() documentation at http://www.php.net/manual/en/function.preg-match-all.php
Default value: "/\bissue [#]{0,1}(\d+)\b/i"
int
$g_source_control_set_resolution_to
[line 2280]
Whenever an issue status is set to $g_source_control_set_status_to, the issue resolution is set to the value specified for this configuration.
Default value: FIXED
int
$g_source_control_set_status_to
[line 2273]
If set to a status, then after a checkin with a log message that matches the regular expression in $g_source_control_fixed_regexp, the issue status is set to the specified status. If set to OFF, the issue status is not changed.
Default value: OFF
string
$g_sponsorship_currency
[line 1452]
Currency used for all sponsorships.
Default value: 'US$'
string
$g_sponsorship_enum_string
[line 2667]
Default value: '0:Unpaid,1:Requested,2:Paid'
int
$g_sponsor_threshold
[line 1471]
Access level threshold needed to allow user to sponsor issues.
Default value: REPORTER
array
$g_status_colors
[line 2385]
status color codes, using the Tango color palette
Default value: array( 'new' => '#fcbdbd', 'feedback' => '#e3b7eb', 'acknowledged' => '#ffcd85', 'confirmed' => '#fff494', 'assigned' => '#c2dfff', 'resolved' => '#d2f5b0', 'closed' => '#c9ccc4')
string
$g_status_enum_string
[line 2640]
Default value: '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,80:resolved,90:closed'
array
$g_status_enum_workflow
[line 1764]
'status_enum_workflow' defines the workflow, and reflects a simple 2-dimensional matrix. For each existing status, you define which statuses you can go to from that status, e.g. from NEW_ you might list statuses '10:new,20:feedback,30:acknowledged' but not higher ones.
The following example can be transferred to config_inc.php $g_status_enum_workflow[NEW_]='20:feedback,30:acknowledged,40:confirmed,50:assigned,80:resolved'; $g_status_enum_workflow[FEEDBACK] ='10:new,30:acknowledged,40:confirmed,50:assigned,80:resolved'; $g_status_enum_workflow[ACKNOWLEDGED] ='20:feedback,40:confirmed,50:assigned,80:resolved'; $g_status_enum_workflow[CONFIRMED] ='20:feedback,50:assigned,80:resolved'; $g_status_enum_workflow[ASSIGNED] ='20:feedback,80:resolved,90:closed'; $g_status_enum_workflow[RESOLVED] ='50:assigned,90:closed'; $g_status_enum_workflow[CLOSED] ='50:assigned';
Default value: array()
array
$g_status_icon_arr
[line 3031]
Icon associative arrays
Status to icon mapping
Default value: array (
NONE => '',
LOW => 'priority_low_1.gif',
NORMAL => 'priority_normal.gif',
HIGH => 'priority_1.gif',
URGENT => 'priority_2.gif',
IMMEDIATE => 'priority_3.gif'
)
int
$g_status_legend_position
[line 885]
Position of the status colour legend, can be: STATUS_LEGEND_POSITION_*
see constant_inc.php. (*: TOP , BOTTOM , or BOTH)
Default value: STATUS_LEGEND_POSITION_BOTTOM
int
$g_status_percentage_legend
[line 893]
Show a legend with percentage of bug status x% of all bugs are new, y% of all bugs are assigned and so on.
If set to ON it will printed below the status colour legend.
Default value: OFF
int
$g_stop_on_errors
[line 2886]
--- debug messages ---
If this option is turned OFF (default) page redirects will continue to function even if a non-fatal error occurs. For debugging purposes, you can set this to ON so that any non-fatal error will prevent page redirection, allowing you to see the errors. Only turn this option on for debugging
Default value: OFF
int
$g_stored_query_create_shared_threshold
[line 2097]
Threshold needed to be able to create shared stored queries
Default value: MANAGER
int
$g_stored_query_create_threshold
[line 2091]
Threshold needed to be able to create stored queries
Default value: DEVELOPER
int
$g_stored_query_use_threshold
[line 2085]
Threshold needed to be able to use stored queries
Default value: REPORTER
int
$g_store_reminders
[line 1415]
are reminders stored as bugnotes
Default value: ON
string
$g_string_cookie
[line 2461]
Default value: '%cookie_prefix%_STRING_COOKIE'
int
$g_summary_category_include_project
[line 1370]
shows project '[project] category' when 'All Projects' is selected
otherwise only 'category name'
Default value: OFF
string
$g_system_font_folder
[line 310]
absolute path (with trailing slash!) to folder which contains your TrueType-Font files
used to create the captcha image and since 0.19.3 for the Relationship Graphs
Default value: 'c:/winnt/fonts/'
int
$g_tag_attach_threshold
[line 3296]
Access level required to attach tags to a bug
Default value: REPORTER
int
$g_tag_create_threshold
[line 3314]
Access level required to create new tags
Default value: REPORTER
int
$g_tag_detach_own_threshold
[line 3308]
Access level required to detach tags attached by the same user
Default value: REPORTER
int
$g_tag_detach_threshold
[line 3302]
Access level required to detach tags from a bug
Default value: DEVELOPER
int
$g_tag_edit_own_threshold
[line 3326]
Access level required to edit descriptions by the creating user
Default value: REPORTER
int
$g_tag_edit_threshold
[line 3320]
Access level required to edit tag names and descriptions
Default value: DEVELOPER
int
$g_tag_separator
[line 3284]
String that will separate tags as entered for input
Default value: ','
int
$g_tag_view_threshold
[line 3290]
Access level required to view tags attached to a bug
Default value: VIEWER
int
$g_time_tracking_edit_threshold
[line 3360]
access level required to add/edit time tracking information
Default value: DEVELOPER
int
$g_time_tracking_enabled
[line 3336]
Turn on Time Tracking accounting
Default value: OFF
int
$g_time_tracking_reporting_threshold
[line 3366]
access level required to run reports
Default value: MANAGER
int
$g_time_tracking_stopwatch
[line 3348]
Stop watch to build time tracking field
Default value: OFF
int
$g_time_tracking_view_threshold
[line 3354]
access level required to view time tracking information
Default value: DEVELOPER
int
$g_time_tracking_without_note
[line 3372]
allow time tracking to be recorded without a bugnote
Default value: ON
int
$g_time_tracking_with_billing
[line 3342]
A billing sums
Default value: OFF
string
$g_top_include_page
[line 2726]
Specify your top/bottom include file (logos, banners, etc)
if a top file is supplied, the default MantisBT logo at the top will be hidden
Default value: '%absolute_path%'
string
$g_twitter_password
[line 3421]
The twitter account password.
Default value: ''
string
$g_twitter_username
[line 3415]
The integration with twitter allows for a MantisBT installation to post updates to a twitter account. This feature will be disabled if username is empty or if the curl extension is not enabled.
The twitter account user name.
Default value: ''
array
$g_unread_icon_arr
[line 3053]
Read status to icon mapping
Default value: array (
READ => 'mantis_space.gif',
UNREAD => 'unread.gif'
)
int
$g_update_bugnote_threshold
[line 1975]
Update bugnote threshold (if the bugnote is not your own)
Default value: DEVELOPER
int
$g_update_bug_assign_threshold
[line 1916]
access level needed to show the Assign To: button bug_view*_page or the Assigned list in bug_update*_page.
This allows control over who can route bugs This defaults to $g_handle_bug_threshold
Default value: '%handle_bug_threshold%'
int
$g_update_bug_status_threshold
[line 2128]
status change thresholds
Default value: DEVELOPER
int
$g_update_bug_threshold
[line 1880]
access level needed to update bugs (i.e., the update_bug_page)
This controls whether the user sees the "Update Bug" button in bug_view*_page and the pencil icon in view_all_bug_page
Default value: UPDATER
int
$g_update_readonly_bug_threshold
[line 2104]
Threshold needed to update readonly bugs. Readonly bugs are identified via $g_bug_readonly_status_threshold.
Default value: MANAGER
int
$g_upload_bug_file_threshold
[line 1963]
access level needed to upload files to attach to a bug
You can set this to NOBODY to prevent uploads to bugs but note that the reporter of the bug will still be able to upload unless you set $g_allow_reporter_upload or $g_allow_file_upload to OFF See also: $g_upload_project_file_threshold, $g_allow_file_upload, $g_allow_reporter_upload
Default value: REPORTER
int
$g_upload_project_file_threshold
[line 1952]
access level needed to upload files to the project documentation section
You can set this to NOBODY to prevent uploads to projects See also: $g_upload_bug_file_threshold, $g_allow_file_upload
Default value: MANAGER
string
$g_user_login_valid_regex
[line 2335]
The regular expression to use when validating new user login names
The default regular expression allows a-z, A-z, 0-9, as well as space and underscore. If you change this, you may want to update the ERROR_USER_NAME_INVALID string in the language files to explain the rules you are using on your site
Default value: '/^[\w \-]+$/'
int
$g_use_iis
[line 211]
Using Microsoft Internet Information Server (IIS)
ON or OFF
Default value: $t_use_iis
int
$g_use_javascript
[line 2683]
allow the use of Javascript?
Default value: ON
int
$g_use_jpgraph
[line 974]
To use the Jpgraph addon you need the JPGRAPH package from
http://www.aditus.nu/jpgraph/index.php The default/tested configuration is to place the jpgraph files (jpgraph.php) in the core directory in a jpgraph folder
Default value: OFF
int
$g_use_ldap_email
[line 1684]
Should we send to the LDAP email address or what MySql tells us
Default value: OFF
int
$g_use_persistent_connections
[line 2709]
Use persistent database connections
Default value: OFF
int
$g_validate_email
[line 460]
set to OFF to disable email check
Default value: ( substr( php_uname(), 0, 7 ) == 'Windows' ) ? OFF : ON
string
$g_version_suffix
[line 599]
String appended to the MantisBT version when displayed to the user
Default value: ''
string
$g_view_all_cookie
[line 2473]
Default value: '%cookie_prefix%_VIEW_ALL_COOKIE'
int
$g_view_attachments_threshold
[line 1821]
access level needed to view bugs attachments. View means to see the file names sizes, and timestamps of the attachments.
Default value: VIEWER
int
$g_view_changelog_threshold
[line 2110]
threshold for viewing changelog
Default value: VIEWER
int
$g_view_configuration_threshold
[line 2366]
threshold for users to view the system configurations
Default value: DEVELOPER
int
$g_view_filters
[line 2513]
Default value: SIMPLE_DEFAULT
int
$g_view_handler_threshold
[line 1930]
access level needed to view handler in bug reports and notification email
Default value: VIEWER
Information Tags:
| Todo: | yarick123: now it is implemented for notification email only |
int
$g_view_history_threshold
[line 1937]
access level needed to view history in bug reports and notification email
Default value: VIEWER
Information Tags:
| Todo: | yarick123: now it is implemented for notification email only |
array
$g_view_issues_page_columns
[line 848]
The default columns to be included in the View Issues Page.
This can be overriden using Manage -> Manage Configuration -> Manage Columns Also each user can configure their own columns using My Account -> Manage Columns Some of the columns specified here can be removed automatically if they conflict with other configuration. Or if the current user doesn't have the necessary access level to view them. For example, sponsorship_total will be removed if sponsorships are disabled. To include custom field 'xyz', include the column name as 'custom_xyz'.
Standard Column Names (i.e. names to choose from): selection, edit, id, project_id, reporter_id, handler_id, priority, reproducibility, projection, eta, resolution, fixed_in_version, view_state, os, os_build, build (for product build), platform, version, date_submitted, attachment, category, sponsorship_total, severity, status, last_updated, summary, bugnotes_count, description, steps_to_reproduce, additional_information
Default value: array ( 'selection', 'edit', 'priority', 'id', 'sponsorship_total', 'bugnotes_count', 'attachment', 'category_id', 'severity', 'status', 'last_updated', 'summary' )
int
$g_view_proj_doc_threshold
[line 1981]
Threshold needed to view project documentation
Default value: ANYBODY
int
$g_view_sponsorship_details_threshold
[line 1465]
Access level threshold needed to view the users sponsoring an issue and the sponsorship amount for each.
Default value: VIEWER
int
$g_view_sponsorship_total_threshold
[line 1458]
Access level threshold needed to view the total sponsorship for an issue by all users.
Default value: VIEWER
string
$g_view_state_enum_string
[line 2617]
Default value: '10:public,50:private'
int
$g_view_summary_threshold
[line 1376]
threshold for viewing summary
Default value: MANAGER
string
$g_webmaster_email
[line 347]
Webmaster email
Default value: 'webmaster@example.com'
int
$g_wiki_enable
[line 3240]
Wiki Integration Enabled?
Default value: OFF
string
$g_wiki_engine
[line 3246]
Wiki Engine (supported engines: 'dokuwiki', 'mediawiki', 'twiki', 'wikka', 'xwiki')
Default value: ''
string
$g_wiki_engine_url
[line 3258]
URL under which the wiki engine is hosted. Must be on the same server.
Default value: $t_protocol . '://' . $t_host . '/%wiki_engine%/'
string
$g_wiki_root_namespace
[line 3252]
Wiki namespace to be used as root for all pages relating to this MantisBT installation.
Default value: 'mantis'
string
$g_window_title
[line 727]
browser window title
Default value: 'MantisBT'
int
$g_wrap_in_preformatted_text
[line 1622]
This flag conntrolls whether pre-formatted text (delimited by
is wrapped to a maximum linelength (defaults to 100 chars in strings_api) If turned off, the display may be wide when viewing the text
Default value: ON