MantisBT
[ class tree: MantisBT ] [ index: MantisBT ] [ all elements ]

Procedural File: config_defaults_inc.php

Source Location: /config_defaults_inc.php



Page Details:

Default Configuration Variables

This file should not be changed. If you want to override any of the values defined here, define them in a file called config_inc.php, which will be loaded after this file.

In general a value of OFF means the feature is disabled and ON means the feature is enabled. Any other cases will have an explanation.

For more details see http://www.mantisbt.org/docs/master-1.2.x/




Tags:

copyright:  Copyright (C) 2002 - 2010 MantisBT Team - mantisbt-dev@lists.sourceforge.net
copyright:  Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
link:  http://www.mantisbt.org





string $g_absolute_path [line 152]

absolute path to your installation. Requires trailing / or \

Default value:   dirname( __FILE__ ) . DIRECTORY_SEPARATOR


[ Top ]



string $g_absolute_path_default_upload_folder [line 1574]

absolute path to the default upload folder. Requires trailing / or \

Default value:   ''


[ Top ]



string $g_access_levels_enum_string [line 2910]

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'


[ Top ]



int $g_action_button_position [line 880]

Position of action buttons when viewing issues.

Can be: POSITION_TOP, POSITION_BOTTOM, or POSITION_BOTH.


Default value:   POSITION_BOTTOM


[ Top ]



int $g_add_bugnote_threshold [line 2277]

Add bugnote threshold

Default value:   REPORTER


[ Top ]



int $g_add_profile_threshold [line 3591]

Add profile threshold

Default value:   REPORTER


[ Top ]



string $g_administrator_email [line 309]

Administrator Email address

Default value:   'administrator@example.com'


[ Top ]



int $g_admin_checks [line 721]

Check for admin directory, database upgrades, etc.

Default value:   ON


[ Top ]



int $g_admin_site_threshold [line 2306]

Threshold at which a user is considered to be a site administrator.

These users have "superuser" access to all aspects of Mantis including the admin/ directory. WARNING: DO NOT CHANGE THIS VALUE UNLESS YOU ABSOLUTELY KNOW WHAT YOU'RE DOING! Users at this access level have the ability to damage your Mantis installation and data within the database. It is strongly advised you leave this option alone.


Default value:   ADMINISTRATOR


[ Top ]



string $g_allowed_files [line 1555]

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:   ''


[ Top ]



int $g_allow_account_delete [line 2530]

account delete

Allow users to delete their own accounts


Default value:   OFF


[ Top ]



int $g_allow_anonymous_login [line 2538]

Enable anonymous access to Mantis. You must also specify $g_anonymous_account as the account which anonymous users will browse Mantis with. The default setting is OFF.

Default value:   OFF


[ Top ]



int $g_allow_blank_email [line 446]

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


[ Top ]



int $g_allow_close_immediately [line 2502]

close immediately

Allow developers and above to close bugs immediately when resolving bugs


Default value:   OFF


[ Top ]



int $g_allow_delete_own_attachments [line 1941]

allow users to delete attachments uploaded by themselves even if their access level is below delete_attachments_threshold.

Default value:   OFF


[ Top ]



int $g_allow_download_own_attachments [line 1934]

allow users to download attachments uploaded by themselves even if their access level is below download_attachments_threshold.

Default value:   ON


[ Top ]



int $g_allow_file_upload [line 1502]

--- 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


[ Top ]



int $g_allow_freetext_in_profile_fields [line 3604]

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


[ Top ]



int $g_allow_no_category [line 2480]

Allow a bug to have no category

Default value:   OFF


[ Top ]



int $g_allow_reporter_close [line 2509]

reporter can close Allow reporters to close the bugs they reported, after they're marked resolved.

Default value:   OFF


[ Top ]



int $g_allow_reporter_reopen [line 2516]

reporter can reopen Allow reporters to reopen the bugs they reported, after they're marked resolved.

Default value:   ON


[ Top ]



int $g_allow_reporter_upload [line 2523]

reporter can upload Allow reporters to upload attachments to bugs they reported.

Default value:   ON


[ Top ]



int $g_allow_signup [line 234]

allow users to signup for their own accounts.

Mail settings must be correctly configured in order for this to work


Default value:   ON


[ Top ]



int $g_allow_view_own_attachments [line 1927]

allow users to view attachments uploaded by themselves even if their access level is below view_attachments_threshold.

Default value:   ON


[ Top ]



string $g_anonymous_account [line 2551]

Define the account which anonymous users will assume when using Mantis.

You only need to define this setting when $g_allow_anonymous_login is set to ON. This account will always be treated as a protected account and thus anonymous users will not be able to update the preferences or settings of this account. It is suggested that the access level of this account have read only access to your Mantis installation (VIEWER). Please read the documentation on this topic before setting up anonymous access to your Mantis installation.


Default value:   ''


[ Top ]



int $g_assign_sponsored_bugs_threshold [line 1479]

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


[ Top ]



int $g_attachments_file_permissions [line 1521]

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


[ Top ]



int $g_auto_set_status_to_assigned [line 1816]

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


[ Top ]



int $g_backward_year_count [line 3395]

Number of years in the past that custom date fields will display in drop down boxes.

Default value:   4


[ Top ]



string $g_bottom_include_page [line 3030]

Specify your top/bottom include file (logos, banners, etc)

Default value:   '%absolute_path%'


[ Top ]



int $g_bugnote_allow_user_edit_delete [line 2367]

Are users allowed to change and delete their own bugnotes?

Default value:   ON


[ Top ]



string $g_bugnote_link_tag [line 2623]

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:   '~'


[ Top ]



string $g_bugnote_order [line 1382]

bugnote ordering

change to ASC or DESC


Default value:   'DESC'


[ Top ]



int $g_bug_assigned_status [line 1741]

Status to assign to the bug when assigned.

Default value:   ASSIGNED


[ Top ]



array $g_bug_change_status_page_fields [line 2125]

An array of the fields to show on the bug change status page.

To overload this setting per project, then the settings must be included in the database through the generic configuration form.


Default value:   array (
      'id',
      'project',
      'category_id',
      'view_state',
      'date_submitted',
      'last_updated',
      'reporter',
      'handler',
      'priority',
      'severity',
      'reproducibility',
      'status',
      'resolution',
      'projection',
      'eta',
      'platform',
      'os',
      'os_version',
      'product_version',
      'product_build',
      'target_version',
      'fixed_in_version',
      'summary',
      'description',
      'additional_info',
      'steps_to_reproduce',
      'tags',
      'attachments',
      'due_date',
   )


[ Top ]



int $g_bug_closed_status_threshold [line 1808]

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


[ Top ]



string $g_bug_count_hyperlink_prefix [line 2634]

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'


[ Top ]



int $g_bug_feedback_status [line 1755]

Status to assign to the bug when feedback is required from the issue reporter.

Once the reporter adds a note the status moves back from feedback to $g_bug_assigned_status or $g_bug_submit_status.


Default value:   FEEDBACK


[ Top ]



string $g_bug_link_tag [line 2614]

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:   '#'


[ Top ]



string $g_bug_list_cookie [line 2802]

Default value:   '%cookie_prefix%_BUG_LIST_COOKIE'


[ Top ]



array $g_bug_print_page_fields [line 2046]

An array of the fields to show on the bug print page.

Default value:   array (
      'id',
      'project',
      'category_id',
      'view_state',
      'date_submitted',
      'last_updated',
      'reporter',
      'handler',
      'priority',
      'severity',
      'reproducibility',
      'status',
      'resolution',
      'projection',
      'eta',
      'platform',
      'os',
      'os_version',
      'product_version',
      'product_build',
      'target_version',
      'fixed_in_version',
      'summary',
      'description',
      'additional_info',
      'steps_to_reproduce',
      'tags',
      'attachments',
      'due_date',
   )


[ Top ]



int $g_bug_readonly_status_threshold [line 1777]

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


[ Top ]



int $g_bug_reminder_threshold [line 2246]

access level needed to send a reminder from the bug view pages

set to NOBODY to disable the feature


Default value:   DEVELOPER


[ Top ]



int $g_bug_reopen_resolution [line 1770]

Resolution to assign to the bug when reopened.

Default value:   REOPENED


[ Top ]



int $g_bug_reopen_status [line 1747]

Status to assign to the bug when reopened.

Default value:   FEEDBACK


[ Top ]



array $g_bug_report_page_fields [line 1981]

An array of the fields to show on the bug report page.

The following fields can not be included: id, project, date_submitted, last_updated, status, resolution, tags, fixed_in_version, projection, eta, reporter.

The following fields must be included: category_id, summary, description.

To overload this setting per project, then the settings must be included in the database through the generic configuration form.


Default value:   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',
   )


[ Top ]



int $g_bug_resolution_fixed_threshold [line 1793]

Threshold resolution which denotes that a bug has been resolved and successfully fixed by developers. Resolutions above this threshold and below $g_bug_resolution_not_fixed_threshold are considered to be resolved successfully.

Default value:   FIXED


[ Top ]



int $g_bug_resolution_not_fixed_threshold [line 1801]

Threshold resolution which denotes that a bug has been resolved without being successfully fixed by developers. Resolutions above this threshold are considered to be resolved in an unsuccessful way.

Default value:   UNABLE_TO_DUPLICATE


[ Top ]



int $g_bug_resolved_status_threshold [line 1784]

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


[ Top ]



int $g_bug_revision_drop_threshold [line 2252]

Access lever required to drop bug history revisions

Default value:   MANAGER


[ Top ]



int $g_bug_submit_status [line 1735]

Status to assign to the bug when submitted.

Default value:   NEW_


[ Top ]



array $g_bug_update_page_fields [line 2086]

An array of the fields to show on the bug update page.

To overload this setting per project, then the settings must be included in the database through the generic configuration form.


Default value:   array (
      'id',
      'project',
      'category_id',
      'view_state',
      'date_submitted',
      'last_updated',
      'reporter',
      'handler',
      'priority',
      'severity',
      'reproducibility',
      'status',
      'resolution',
      'projection',
      'eta',
      'platform',
      'os',
      'os_version',
      'product_version',
      'product_build',
      'target_version',
      'fixed_in_version',
      'summary',
      'description',
      'additional_info',
      'steps_to_reproduce',
      'attachments',
      'due_date',
   )


[ Top ]



array $g_bug_view_page_fields [line 2010]

An array of the fields to show on the bug view page.

To overload this setting per project, then the settings must be included in the database through the generic configuration form.


Default value:   array (
      'id',
      'project',
      'category_id',
      'view_state',
      'date_submitted',
      'last_updated',
      'reporter',
      'handler',
      'priority',
      'severity',
      'reproducibility',
      'status',
      'resolution',
      'projection',
      'eta',
      'platform',
      'os',
      'os_version',
      'product_version',
      'product_build',
      'target_version',
      'fixed_in_version',
      'summary',
      'description',
      'additional_info',
      'steps_to_reproduce',
      'tags',
      'attachments',
      'due_date',
   )


[ Top ]



string $g_calendar_date_format [line 1020]

jscalendar date format string

go to http://www.php.net/manual/en/function.date.php for detailed instructions on date formatting


Default value:   'Y-m-d H:i'


[ Top ]



string $g_calendar_js_date_format [line 1012]

jscalendar date format string

go to http://www.php.net/manual/en/function.date.php for detailed instructions on date formatting


Default value:   '\%Y-\%m-\%d \%H:\%M'


[ Top ]



int $g_change_view_status_threshold [line 2386]

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


[ Top ]



int $g_check_mx_record [line 437]

set to OFF to disable email check

Default value:   OFF


[ Top ]



string $g_class_path [line 165]

absolute path to class files. Requires trailing / or \

Default value:   $g_core_path . 'classes' . DIRECTORY_SEPARATOR


[ Top ]



string $g_colour_global [line 2735]

colours for configuration display

Default value:   'LightBlue'


[ Top ]



string $g_colour_project [line 2729]

colours for configuration display

Default value:   'LightGreen'


[ Top ]



string $g_complete_date_format [line 1004]

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'


[ Top ]



int $g_compress_html [line 3014]

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


[ Top ]



int $g_content_expire [line 967]

minutes to wait before document is stale (in minutes)

Default value:   0


[ Top ]



string $g_cookie_domain [line 2753]

Default value:   ''


[ Top ]



string $g_cookie_path [line 2747]

--- cookie path ---------------

set this to something more restrictive if needed http://www.php.net/manual/en/function.setcookie.php


Default value:   '/'


[ Top ]



string $g_cookie_prefix [line 2766]

--- cookie prefix --------------- set this to a unique identifier. No spaces.

Default value:   'MANTIS'


[ Top ]



int $g_cookie_time_length [line 961]

time for 'permanent' cookie to live in seconds (1 year)

Default value:   30000000


[ Top ]



string $g_cookie_version [line 2759]

cookie version for view_all_page

Default value:   'v8'


[ Top ]



string $g_core_path [line 159]

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


[ Top ]



int $g_create_permalink_threshold [line 2838]

The threshold required for users to be able to create permalinks. To turn of this feature use NOBODY.

Default value:   DEVELOPER


[ Top ]



int $g_create_project_threshold [line 2331]

Threshold needed to create a new project

Default value:   ADMINISTRATOR


[ Top ]



string $g_create_short_url [line 2845]

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'


[ Top ]



string $g_css_include_file [line 3043]

CSS file

Default value:   'css/default.css'


[ Top ]



string $g_css_rtl_include_file [line 3049]

RTL CSS file

Default value:   'css/rtl.css'


[ Top ]



array $g_csv_columns [line 837]

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' )


[ Top ]



string $g_csv_separator [line 2671]

CSV Export

Set the csv separator


Default value:   ','


[ Top ]



int $g_custom_field_edit_after_create [line 3130]

Whether to start editng a custom field immediately after creating it

Default value:   ON


[ Top ]



int $g_custom_field_link_threshold [line 3124]

Threshold needed to link/unlink custom field to/from a project

Default value:   MANAGER


[ Top ]



string $g_custom_field_type_enum_string [line 2984]

Default value:   '0:string,1:numeric,2:float,3:enum,4:email,5:checkbox,6:list,7:multiselection list,8:date,9:radio'


[ Top ]



array $g_custom_group_actions [line 3433]

Custom Group Actions

This extensibility model allows developing new group custom actions. This can be implemented with a totally custom form and action pages or with a pre-implemented form and action page and call-outs to some functions. These functions are to be implemented in a predefined file whose name is based on the action name. For example, for an action to add a note, the action would be EXT_ADD_NOTE and the file implementing it would be bug_actiongroup_add_note_inc.php. See implementation of this file for details.

Sample:

array( array( 'action' => 'my_custom_action', 'label' => 'my_label', // string to be passed to lang_get_defaulted() 'form_page' => 'my_custom_action_page.php', 'action_page' => 'my_custom_action.php' ) array( 'action' => 'my_custom_action2', 'form_page' => 'my_custom_action2_page.php', 'action_page' => 'my_custom_action2.php' ) array( 'action' => 'EXT_ADD_NOTE', // you need to implement bug_actiongroup_<action_without_'EXT_')_inc.php 'label' => 'actiongroup_menu_add_note' // see strings_english.txt for this label ) );


Default value:   array()


[ Top ]



array $g_custom_headers [line 3089]

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()


[ Top ]



string $g_cvs_web [line 2559]

CVS linking

insert the URL to your CVSweb or ViewCVS eg: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mantisbt/mantisbt/


Default value:   ''


[ Top ]



string $g_database_name [line 63]

Name of database that contains MantisBT tables.

The default database name is "bugtracker".


Default value:   'bugtracker'


[ Top ]



array $g_date_partitions [line 1328]

summary date displays

date lengths to count bugs by (in days)


Default value:   array( 1, 2, 3, 7, 30, 60, 90, 180, 365)


[ Top ]



string $g_db_password [line 57]

Password for the specified user name. The default password is empty.

Default value:   ''


[ Top ]



string $g_db_schema [line 69]

Database Schema Name - used in the case of db2.

Default value:   ''


[ Top ]



array $g_db_table [line 2867]

table names

Default value:   '%db_table_prefix%_bug_file%db_table_suffix%'


[ Top ]



string $g_db_table_prefix [line 2855]

table prefix

Default value:   'mantis'


[ Top ]



string $g_db_table_suffix [line 2861]

table suffix

Default value:   '_table'


[ Top ]



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'


[ Top ]



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'


[ Top ]



int $g_debug_email [line 3707]

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


[ Top ]



int $g_debug_timer [line 3699]

used for development only. Leave OFF

Default value:   OFF


[ Top ]



string $g_default_avatar [line 939]

Default avatar for users without a gravatar account

Default value:   "%path%images/no_avatar.png"


[ Top ]



string $g_default_bugnote_order [line 1196]

Default value:   'ASC'


[ Top ]



int $g_default_bugnote_view_status [line 1111]

Default Bugnote View Status (VS_PUBLIC or VS_PRIVATE)

Default value:   VS_PUBLIC


[ Top ]



string $g_default_bug_additional_info [line 1105]

Default value for addition information field.

Default value:   ''


[ Top ]



int $g_default_bug_eta [line 1147]

Default bug ETA when reporting a new bug

Default value:   ETA_NONE


[ Top ]



int $g_default_bug_priority [line 1129]

Default bug priority when reporting a new bug

Default value:   NORMAL


[ Top ]



int $g_default_bug_projection [line 1141]

Default bug projection when reporting a new bug

Default value:   PROJECTION_NONE


[ Top ]



int $g_default_bug_reproducibility [line 1135]

Default bug reproducibility when reporting a new bug

Default value:   REPRODUCIBILITY_HAVENOTTRIED


[ Top ]



int $g_default_bug_resolution [line 1117]

Default bug resolution when reporting a new bug

Default value:   OPEN


[ Top ]



int $g_default_bug_severity [line 1123]

Default bug severity when reporting a new bug

Default value:   MINOR


[ Top ]



string $g_default_bug_steps_to_reproduce [line 1099]

Default value for steps to reproduce field.

Default value:   ''


[ Top ]



int $g_default_bug_view_status [line 1093]

Default Bug View Status (VS_PUBLIC or VS_PRIVATE)

Default value:   VS_PUBLIC


[ Top ]



int $g_default_email_bugnote_limit [line 1310]

Default value:   0


[ Top ]



int $g_default_email_on_assigned [line 1208]

Default value:   ON


[ Top ]



int $g_default_email_on_assigned_minimum_severity [line 1262]

'any'

Default value:   OFF


[ Top ]



int $g_default_email_on_bugnote [line 1238]

Default value:   ON


[ Top ]



int $g_default_email_on_bugnote_minimum_severity [line 1292]

'any'

Default value:   OFF


[ Top ]



int $g_default_email_on_closed [line 1226]

Default value:   ON


[ Top ]



int $g_default_email_on_closed_minimum_severity [line 1280]

'any'

Default value:   OFF


[ Top ]



int $g_default_email_on_feedback [line 1214]

Default value:   ON


[ Top ]



int $g_default_email_on_feedback_minimum_severity [line 1268]

'any'

Default value:   OFF


[ Top ]



int $g_default_email_on_new [line 1202]

Default value:   ON


[ Top ]



int $g_default_email_on_new_minimum_severity [line 1256]

'any'

Default value:   OFF


[ Top ]



int $g_default_email_on_priority [line 1250]

Default value:   0


[ Top ]



int $g_default_email_on_priority_minimum_severity [line 1304]

Default value:   OFF


[ Top ]



int $g_default_email_on_reopened [line 1232]

Default value:   ON


[ Top ]



int $g_default_email_on_reopened_minimum_severity [line 1286]

'any'

Default value:   OFF


[ Top ]



int $g_default_email_on_resolved [line 1220]

Default value:   ON


[ Top ]



int $g_default_email_on_resolved_minimum_severity [line 1274]

'any'

Default value:   OFF


[ Top ]



int $g_default_email_on_status [line 1244]

Default value:   0


[ Top ]



int $g_default_email_on_status_minimum_severity [line 1298]

'any'

Default value:   OFF


[ Top ]



string $g_default_home_page [line 3066]

Default page after Login or Set Project

Default value:   'my_view_page.php'


[ Top ]



string $g_default_language [line 582]

If the language is set to 'auto', the actual language is determined by the user agent (web browser) language preference.

Default value:   'english'


[ Top ]



int $g_default_limit_view [line 1153]

Default value:   50


[ Top ]



string $g_default_manage_tag_prefix [line 2664]

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'


[ Top ]



string $g_default_manage_user_prefix [line 2655]

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'


[ Top ]



int $g_default_new_account_access_level [line 1087]

signup default

look in constant_inc.php for values


Default value:   REPORTER


[ Top ]



array $g_default_notify_flags [line 392]

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)


[ Top ]



int $g_default_redirect_delay [line 1190]

in seconds

Default value:   2


[ Top ]



int $g_default_refresh_delay [line 1184]

in minutes

Default value:   30


[ Top ]



int $g_default_reminder_view_status [line 1424]

Default Reminder View Status (VS_PUBLIC or VS_PRIVATE)

Default value:   VS_PUBLIC


[ Top ]



int $g_default_show_changed [line 1159]

Default value:   6


[ Top ]



string $g_default_timezone [line 1038]

Default timezone to use in mantis.

See http://us.php.net/manual/en/timezones.php for a list of valid timezones. Note: if this is left blank, we use the result of date_default_timezone_get() i.e. in order:

  1. Reading the TZ environment variable (if non empty)
  2. Reading the value of the date.timezone php.ini option (if set)
  3. Querying the host operating system (if supported and allowed by the OS)
  4. If none of the above succeed, will return a default timezone of UTC.


Default value:   ''


[ Top ]



int $g_delete_attachments_threshold [line 1920]

access level needed to delete bug attachments

Default value:   DEVELOPER


[ Top ]



string $g_delete_bugnote_threshold [line 2361]

Delete bugnote threshold

Default value:   '%delete_bug_threshold%'


[ Top ]



int $g_delete_bug_threshold [line 2355]

Delete bug threshold

Default value:   DEVELOPER


[ Top ]



int $g_delete_project_threshold [line 2325]

Threshold required to delete a project

Default value:   ADMINISTRATOR


[ Top ]



int $g_development_team_threshold [line 2466]

The minimum access level for someone to be a member of the development team and appear on the project information page.

Default value:   DEVELOPER


[ Top ]



int $g_dhtml_filters [line 2832]

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


[ Top ]



int $g_differentiate_duplicates [line 910]

leave off for now

Default value:   OFF


[ Top ]



string $g_disallowed_files [line 1561]

Default value:   ''


[ Top ]



int $g_display_bugnote_padding [line 2723]

The padding level when displaying bugnote ids

The bugnote id will be padded with 0's up to the size given


Default value:   7


[ Top ]



int $g_display_bug_padding [line 2716]

The padding level when displaying bug ids

The bug id will be padded with 0's up to the size given


Default value:   7


[ Top ]



array $g_display_errors [line 3761]

--- 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'
   )


[ Top ]



int $g_display_project_padding [line 2709]

The padding level when displaying project ids

The bug id will be padded with 0's up to the size given


Default value:   3


[ Top ]



string $g_document_files_prefix [line 1568]

prefix to be used for the file system names of files uploaded to projects.

Eg: doc-001-myprojdoc.zip


Default value:   'doc'


[ Top ]



string $g_dot_tool [line 3381]

Complete path to dot and neato tools. Your webserver must have execute permission to these programs in order to generate relationship graphs.

NOTE: These are meaningless under Windows! Just ignore them!


Default value:   '/usr/bin/dot'


[ Top ]



int $g_download_attachments_threshold [line 1914]

access level needed to download bug attachments

Default value:   VIEWER


[ Top ]



int $g_due_date_update_threshold [line 3656]

threshold to update due date submitted

Default value:   NOBODY


[ Top ]



int $g_due_date_view_threshold [line 3662]

threshold to see due date

Default value:   NOBODY


[ Top ]



int $g_email_padding_length [line 554]

email separator and padding

Default value:   28


[ Top ]



int $g_email_receive_own [line 425]

Whether user's should receive emails for their own actions

Default value:   OFF


[ Top ]



int $g_email_send_using_cronjob [line 529]

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


[ Top ]



string $g_email_separator1 [line 544]

email separator and padding

Default value:   str_pad('', 70, '=')


[ Top ]



string $g_email_separator2 [line 549]

email separator and padding

Default value:   str_pad('', 70, '-')


[ Top ]



int $g_email_set_category [line 538]

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


[ Top ]



int $g_enable_email_notification [line 344]

Allow email notification.

Set to ON to enable email notifications, OFF to disable them. Note that disabling email notifications has no effect on emails generated as part of the user signup process. When set to OFF, the password reset feature is disabled. Additionally, notifications of administrators updating accounts are not sent to users.


Default value:   ON


[ Top ]



int $g_enable_eta [line 1951]

Enable or disable usage of the ETA field.

Default value:   OFF


[ Top ]



int $g_enable_product_build [line 1963]

Enable or disable usage of the Product Build field.

Default value:   OFF


[ Top ]



int $g_enable_profiles [line 3585]

Enable Profiles

Default value:   ON


[ Top ]



int $g_enable_projection [line 1957]

Enable or disable usage of the Projection field.

Default value:   OFF


[ Top ]



int $g_enable_project_documentation [line 759]

Specifies whether to enable support for project documents or not.

This feature is deprecated and is expected to be moved to a plugin in the future.


Default value:   OFF


[ Top ]



int $g_enable_sponsorship [line 1441]

Whether to enable/disable the whole issue sponsorship feature

Default value:   OFF


[ Top ]



string $g_eta_enum_string [line 2972]

Default value:   '10:none,20:< 1 day,30:2-3 days,40:< 1 week,50:< 1 month,60:> 1 month'


[ Top ]



array $g_excel_columns [line 845]

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' )


[ Top ]



string $g_fallback_language [line 699]

Fallback for automatic language selection

Default value:   'english'


[ Top ]



string $g_favicon_image [line 727]

Favicon image

Default value:   'images/favicon.ico'


[ Top ]



string $g_fileinfo_magic_db_file [line 1847]

Specify the filename of the magic database file. This is used by

PHP 5.3.0 (or earlier versions with the fileinfo PECL extension) to guess what the MIME type of a file is. Usually it is safe to leave this setting as the default (blank) as PHP is usually able to find this file by itself.


Default value:   ''


[ Top ]



array $g_file_type_icons [line 3159]

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(
      ''      => 'text.gif',
      '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',
      'diff'   => 'text.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',
      'patch'   => 'text.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' )


[ Top ]



string $g_file_upload_ftp_pass [line 1539]

Default value:   'readwritepass'


[ Top ]



string $g_file_upload_ftp_server [line 1527]

FTP settings, used if $g_file_upload_method = FTP

Default value:   'ftp.myserver.com'


[ Top ]



string $g_file_upload_ftp_user [line 1533]

Default value:   'readwriteuser'


[ Top ]



int $g_file_upload_method [line 1509]

Upload destination: specify actual location in project settings DISK, DATABASE, or FTP.

Default value:   DATABASE


[ Top ]



int $g_filter_by_custom_fields [line 2812]

Default value:   ON


[ Top ]



int $g_filter_custom_fields_per_row [line 2818]

Default value:   8


[ Top ]



int $g_filter_position [line 873]

Position of the filter box, can be: POSITION_* POSITION_TOP, POSITION_BOTTOM, or POSITION_NONE for none.

Default value:   FILTER_POSITION_TOP


[ Top ]



string $g_font_per_captcha [line 285]

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'


[ Top ]



int $g_forward_year_count [line 3402]

Number of years in the future that custom date fields will display in drop down boxes.

Default value:   4


[ Top ]



string $g_from_email [line 321]

the sender email, part of 'From: ' header in emails

Default value:   'noreply@example.com'


[ Top ]



string $g_from_name [line 327]

the sender name, part of 'From: ' header in emails

Default value:   'Mantis Bug Tracker'


[ Top ]



array $g_global_settings [line 3820]

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_', 'admin_checks', 'version_suffix', 'global_settings',
      '_path$', 'use_iis', 'language', 'use_javascript', 'minimal_jscss', '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_', 'form_security_',
      'compress_html', '_page$', '_url$',
   )


[ Top ]



int $g_handle_bug_threshold [line 2209]

access level needed to be able to be listed in the assign to field.

Default value:   DEVELOPER


[ Top ]



int $g_handle_sponsored_bugs_threshold [line 1472]

Access level required to be able to handle sponsored issues.

Default value:   DEVELOPER


[ Top ]



int $g_hide_status_default [line 1165]

Default value:   CLOSED


[ Top ]



int $g_history_default_visible [line 1393]

bug history visible by default when you view a bug

change to ON or OFF


Default value:   ON


[ Top ]



string $g_history_order [line 1400]

bug history ordering

change to ASC or DESC


Default value:   'ASC'


[ Top ]



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'


[ Top ]



int $g_hr_size [line 1627]

Horizontal Rule Size

Default value:   1


[ Top ]



int $g_hr_width [line 1633]

Horizontal Rule Width

Default value:   50


[ Top ]



int $g_html_make_links [line 1586]

html tags

Set this flag to automatically convert www URLs and email adresses into clickable links


Default value:   ON


[ Top ]



string $g_html_valid_tags [line 1594]

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'


[ Top ]



string $g_html_valid_tags_single_line [line 1602]

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'


[ Top ]



string $g_icon_path [line 139]

path to your images directory (for icons)

requires trailing /


Default value:   '%path%images/'


[ Top ]



string $g_inline_file_exts [line 1908]

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'


[ Top ]



array $g_language_auto_map [line 645]

Browser language mapping for 'auto' language selection

Default value:   array(
      'af' => 'afrikaans',
      'am' => 'amharic',
      'ar' => 'arabic',
      'arz' => 'arabicegyptianspoken',
      'bg' => 'bulgarian',
      'br' => 'breton',
      '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',
      'gsw' => 'swissgerman',
      'de-de, de-at, de-ch, de' => 'german',
      'he' => 'hebrew',
      'hu' => 'hungarian',
      'hr' => 'croatian',
      'is' => 'icelandic',
      'it-ch, it' => 'italian',
      'ja' => 'japanese',
      'ko' => 'korean',
      'ksh' => 'ripoarisch',
      'lt' => 'lithuanian',
      'lv' => 'latvian',
      'mk' => 'macedonian',
      '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',
   )


[ Top ]



array $g_language_choices_arr [line 588]

list the choices that the users are allowed to choose

Default value:   array(
      'auto',
      'afrikaans',
      'amharic',
      'arabic',
      'arabicegyptianspoken',
      'breton',
      'bulgarian',
      'catalan',
      'chinese_simplified',
      'chinese_traditional',
      'croatian',
      'czech',
      'danish',
      'dutch',
      'english',
      'estonian',
      'finnish',
      'french',
      'galician',
      'german',
      'greek',
      'hebrew',
      'hungarian',
      'icelandic',
      'italian',
      'japanese',
      'korean',
      'latvian',
      'lithuanian',
      'macedonian',
      'norwegian_bokmal',
      'norwegian_nynorsk',
      'occitan',
      'polish',
      'portuguese_brazil',
      'portuguese_standard',
      'ripoarisch',
      'romanian',
      'russian',
      'serbian',
      'slovak',
      'slovene',
      'spanish',
      'swissgerman',
      'swedish',
      'tagalog',
      'turkish',
      'ukrainian',
      'urdu',
      'volapuk',
   )


[ Top ]



string $g_ldap_bind_dn [line 1682]

The distinguished of the user account to use for binding to the LDAP server.

For example, 'CN=ldap,OU=Administrators,DC=example,DC=com'.


Default value:   ''


[ Top ]



string $g_ldap_bind_passwd [line 1689]

The password for the service account to be used for connecting to the LDAP server.

Default value:   ''


[ Top ]



int $g_ldap_follow_referrals [line 1717]

Determines whether the LDAP library automatically follows referrals returned by LDAP servers or not.

This maps to LDAP_OPT_REFERRALS ldap library option. For Active Directory, this should be set to OFF.


Default value:   ON


[ Top ]



string $g_ldap_organization [line 1662]

e.g. '(organizationname=*Traffic)'

Default value:   ''


[ Top ]



integer $g_ldap_port [line 1650]

LDAP port (default 389). If this doesn't work, try 636.

Default value:   389


[ Top ]



int $g_ldap_protocol_version [line 1709]

The LDAP Protocol Version, if 0, then the protocol version is not set. For Active Directory use version 3.

Default value:   0


[ Top ]



string $g_ldap_root_dn [line 1656]

Default value:   'dc=example,dc=com,dc=au'


[ Top ]



string $g_ldap_server [line 1643]

Default value:   'ldaps://ldap.example.com.au/'


[ Top ]



string $g_ldap_uid_field [line 1668]

Use 'sAMAccountName' for Active Directory

Default value:   'uid'


[ Top ]



string|int $g_limit_email_domain [line 454]

Only allow and send email to addresses in the given domain

For example: $g_limit_email_domain = 'users.sourceforge.net';


Default value:   OFF


[ Top ]



int $g_limit_reporters [line 2495]

limit reporters Set to ON if you wish to limit reporters to only viewing bugs that they report.

Default value:   OFF


[ Top ]



int $g_login_method [line 2488]

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


[ Top ]



string $g_logout_cookie [line 2796]

Default value:   '%cookie_prefix%_LOGOUT_COOKIE'


[ Top ]



string $g_logout_redirect_page [line 3072]

Specify where the user should be sent after logging out.

Default value:   'login_page.php'


[ Top ]



string $g_logo_image [line 733]

Logo

Default value:   'images/mantis_logo.gif'


[ Top ]



string $g_logo_url [line 739]

Logo URL link

Default value:   '%default_home_page%'


[ Top ]



string $g_log_destination [line 3801]

Default value:   ''


[ Top ]



int $g_log_level [line 3795]

--- 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


[ Top ]



int $g_long_process_timeout [line 976]

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


[ Top ]



int $g_lost_password_feature [line 291]

Setting to disable the 'lost your password' feature.

Default value:   ON


[ Top ]



int $g_mail_priority [line 474]

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


[ Top ]



array $g_main_menu_custom_options [line 3145]

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()


[ Top ]



string $g_manage_cookie [line 2790]

Default value:   '%cookie_prefix%_MANAGE_COOKIE'


[ Top ]



int $g_manage_custom_fields_threshold [line 3118]

Threshold needed to manage custom fields

Default value:   ADMINISTRATOR


[ Top ]



int $g_manage_global_profile_threshold [line 3597]

Threshold needed to be able to create and modify global profiles

Default value:   MANAGER


[ Top ]



int $g_manage_news_threshold [line 2319]

Threshold needed to add/delete/modify news

Default value:   MANAGER


[ Top ]



int $g_manage_plugin_threshold [line 3646]

management threshold.

Default value:   ADMINISTRATOR


[ Top ]



int $g_manage_project_threshold [line 2313]

Threshold needed to manage a project: edit project details (not to add/delete projects) ...etc.

Default value:   MANAGER


[ Top ]



int $g_manage_site_threshold [line 2295]

Site manager

Default value:   MANAGER


[ Top ]



int $g_manage_user_threshold [line 2349]

Threshold needed to manage user accounts

Default value:   ADMINISTRATOR


[ Top ]



string $g_manual_url [line 171]

Used to link to manual for User Documentation.

Default value:   'http://www.mantisbt.org/docs/master-1.2.x/'


[ Top ]



int $g_max_dropdown_length [line 1609]

maximum length of the description in a dropdown menu (for search)

set to 0 to disable truncations


Default value:   40


[ Top ]



int $g_max_failed_login_count [line 243]

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


[ Top ]



int $g_max_file_size [line 1546]

Maximum file size that can be uploaded

Also check your PHP settings (default is usually 2MBs)


Default value:   5000000


[ Top ]



int $g_max_lost_password_in_progress_count [line 299]

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


[ Top ]



string $g_meta_include_file [line 3056]

meta tags

Default value:   '%absolute_path%meta_inc.php'


[ Top ]



int $g_minimal_jscss [line 3808]

if OFF, will include original javascript files

if ON, will include javascript files that have been compressed by yuicompressor if available


Default value:   ON


[ Top ]



int $g_minimum_sponsorship_amount [line 1485]

Minimum sponsorship amount. If the user enters a value less than this, an error will be prompted.

Default value:   5


[ Top ]



int $g_min_refresh_delay [line 1178]

make sure people aren't refreshing too often

in minutes


Default value:   10


[ Top ]



int $g_monitor_add_others_bug_threshold [line 2188]

Access level needed to add other users to the list of users monitoring a bug.

Look in the constant_inc.php file if you want to set a different value.


Default value:   DEVELOPER


[ Top ]



int $g_monitor_bug_threshold [line 2180]

Access level needed to monitor bugs.

Look in the constant_inc.php file if you want to set a different value.


Default value:   REPORTER


[ Top ]



int $g_move_bug_threshold [line 2373]

Move bug threshold

Default value:   DEVELOPER


[ Top ]



array $g_my_view_boxes [line 3275]

Boxes to be shown and their order

A box that is not to be shown can have its value set to 0


Default value:   array (
      'assigned'      => '1',
      'unassigned'    => '2',
      'reported'      => '3',
      'resolved'      => '4',
      'recent_mod'   => '5',
      'monitored'      => '6',
      'feedback'      => '0',
      'verify'      => '0',
      'my_comments'   => '0'
   )


[ Top ]



int $g_my_view_boxes_fixed_position [line 3291]

Toggle whether 'My View' boxes are shown in a fixed position (i.e. adjacent boxes start at the same vertical position)

Default value:   ON


[ Top ]



int $g_my_view_bug_count [line 3268]

Number of bugs shown in each box

Default value:   10


[ Top ]



string $g_neato_tool [line 3388]

Complete path to dot and neato tools. Your webserver must have execute permission to these programs in order to generate relationship graphs.

NOTE: These are meaningless under Windows! Just ignore them!


Default value:   '/usr/bin/neato'


[ Top ]



int $g_news_limit_method [line 1058]

Limit News Items

limit by entry count or date BY_LIMIT - entry limit BY_DATE - by date


Default value:   BY_LIMIT


[ Top ]



int $g_news_view_limit [line 1064]

limit by last X entries

Default value:   7


[ Top ]



int $g_news_view_limit_days [line 1070]

limit by days

Default value:   30


[ Top ]



string $g_normal_date_format [line 996]

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'


[ Top ]



array $g_notify_flags [line 410]

We don't need to send these notifications on new bugs

(see above for info on this config option)




Tags:

see:  $g_default_notify_flags
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
Default value:   array('bugnotes'   => OFF,
                           'monitor'   => OFF)


[ Top ]



int $g_notify_new_user_created_threshold_min [line 249]

access level required to be notified when a new user has been created using the "signup form"

Default value:   ADMINISTRATOR


[ Top ]



string $g_page_title [line 715]

title at top of html page (empty by default, since there is a logo now)

Default value:   ''


[ Top ]



int $g_password_confirm_hash_magic_string [line 265]

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




Tags:

todo:  randomize + admin check
Default value:   'blowfish'


[ Top ]



string $g_path [line 132]

path to your installation as seen from the web browser

requires trailing /


Default value:   isset( $t_url ) ? $t_url : 'http://localhost/mantisbt/'


[ Top ]



int $g_phpMailer_method [line 483]

select the method to mail by:

PHPMAILER_METHOD_MAIL - mail() PHPMAILER_METHOD_SENDMAIL - sendmail PHPMAILER_METHOD_SMTP - SMTP


Default value:   PHPMAILER_METHOD_MAIL


[ Top ]



int $g_plugins_enabled [line 3634]

enable/disable plugins

Default value:   ON


[ Top ]



string $g_plugin_path [line 3640]

absolute path to plugin files.

Default value:   $g_absolute_path . 'plugins' . DIRECTORY_SEPARATOR


[ Top ]



int $g_preview_attachments_inline_max_size [line 1855]

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


[ Top ]



array $g_preview_image_extensions [line 1867]

Extensions for images that can be expanded inline.

Default value:   array( 'bmp', 'png', 'gif', 'jpg', 'jpeg' )


[ Top ]



int $g_preview_max_height [line 1881]

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


[ Top ]



int $g_preview_max_width [line 1874]

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


[ Top ]



array $g_preview_text_extensions [line 1861]

Extensions for text files that can be expanded inline.

Default value:   array( '', 'txt', 'diff', 'patch' )


[ Top ]



array $g_print_issues_page_columns [line 829]

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' )


[ Top ]



string $g_priority_enum_string [line 2934]

Default value:   '10:none,20:low,30:normal,40:high,50:urgent,60:immediate'


[ Top ]



int $g_priority_significant_threshold [line 794]

Define the priority level at which a bug becomes significant.

Significant bugs are displayed with emphasis. Set this value to -1 to disable the feature.


Default value:   HIGH


[ Top ]



int $g_private_bugnote_threshold [line 2225]

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


[ Top ]



int $g_private_bug_threshold [line 2203]

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


[ Top ]



int $g_private_news_threshold [line 1076]

threshold for viewing private news

Default value:   DEVELOPER


[ Top ]



int $g_private_project_threshold [line 2337]

Threshold needed to be automatically included in private projects

Default value:   ADMINISTRATOR


[ Top ]



string $g_projection_enum_string [line 2966]

Default value:   '10:none,30:tweak,50:minor fix,70:major rework,90:redesign'


[ Top ]



string $g_project_cookie [line 2778]

Default value:   '%cookie_prefix%_PROJECT_COOKIE'


[ Top ]



string $g_project_status_enum_string [line 2916]

Default value:   '10:development,30:release,50:stable,70:obsolete'


[ Top ]



int $g_project_user_threshold [line 2343]

Threshold needed to manage user access to a project

Default value:   MANAGER


[ Top ]



string $g_project_view_state_enum_string [line 2922]

Default value:   '10:public,50:private'


[ Top ]



boolean $g_reassign_on_feedback [line 1764]

When a note is added to a bug currently in $g_bug_feedback_status, and the note author is the bug's reporter, this option will automatically set the bug status to $g_bug_submit_status or $g_bug_assigned_status if the bug is assigned to a developer. Defaults to enabled.

Default value:   ON


[ Top ]



int $g_reauthentication [line 745]

Re-authentication required for admin areas

Default value:   ON


[ Top ]



int $g_reauthentication_expiry [line 751]

Default value:   TOKEN_EXPIRY_AUTHENTICATED


[ Top ]



int $g_recently_visited [line 3471]

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


[ Top ]



int $g_recently_visited_count [line 3477]

The maximum number of issues to keep in the recently visited list.

Default value:   5


[ Top ]



int $g_relationship_graph_enable [line 3333]

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


[ Top ]



string $g_relationship_graph_fontname [line 3341]

Font name and size, as required by Graphviz. If Graphviz fails to run for you, you are probably using a font name that gd can't find. On Linux, try the name of the font file without the extension.

Default value:   'Arial'


[ Top ]



int $g_relationship_graph_fontsize [line 3347]

Default value:   8


[ Top ]



int $g_relationship_graph_max_depth [line 3364]

Max depth for relation graphs. This only affects relation graphs, dependency graphs are drawn to the full depth. A value of 3 is already enough to show issues really unrelated to the one you are currently viewing.

Default value:   2


[ Top ]



string $g_relationship_graph_orientation [line 3355]

Default dependency orientation. If you have issues with lots of childs or parents, leave as 'horizontal', otherwise, if you have lots of "chained" issue dependencies, change to 'vertical'.

Default value:   'horizontal'


[ Top ]



int $g_relationship_graph_view_on_click [line 3373]

If set to ON, clicking on an issue on the relationship graph will open the bug view page for that issue, otherwise, will navigate to the relationship graph for that issue.

Default value:   OFF


[ Top ]



int $g_reminder_receive_threshold [line 1431]

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


[ Top ]



int $g_reminder_recipients_monitor_bug [line 1418]

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


[ Top ]



int $g_reopen_bug_threshold [line 2447]

access level needed to re-open bugs

Default value:   DEVELOPER


[ Top ]



int $g_reporter_summary_limit [line 1321]

how many reporters to show

this is useful when there are hundreds of reporters


Default value:   10


[ Top ]



int $g_report_bug_threshold [line 2165]

access level needed to report a bug

Default value:   REPORTER


[ Top ]



int $g_report_issues_for_unreleased_versions_threshold [line 2453]

access level needed to assign bugs to unreleased product versions

Default value:   DEVELOPER


[ Top ]



string $g_reproducibility_enum_string [line 2945]

Default value:   '10:always,30:sometimes,50:random,70:have not tried,90:unable to duplicate,100:N/A'


[ Top ]



string $g_resolution_enum_string [line 2960]

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'


[ Top ]



array $g_resolution_multipliers [line 1366]

Define the resolutions which are used to determine the effectiveness

of reporters based on the resolution of bugs. Higher multipliers will result in a decrease in reporter effectiveness. The only resolutions that need to be defined here are those which match or exceed $g_bug_resolution_not_fixed_threshold.


Default value:   array( UNABLE_TO_DUPLICATE => 2,
                                      NOT_FIXABLE         => 1,
                                      DUPLICATE           => 3,
                                      NOT_A_BUG           => 5,
                                      SUSPENDED           => 1,
                                      WONT_FIX            => 1 )


[ Top ]



string $g_return_path_email [line 333]

the return address for bounced mail

Default value:   'admin@example.com'


[ Top ]



int $g_roadmap_update_threshold [line 2435]

threshold for updating roadmap, target_version, etc

Default value:   DEVELOPER


[ Top ]



int $g_roadmap_view_threshold [line 2429]

threshold for viewing roadmap

Default value:   VIEWER


[ Top ]



int $g_rss_enabled [line 3303]

This flag enables or disables RSS syndication. In the case where RSS syndication is not used, it is recommended to set it to OFF.

Default value:   ON


[ Top ]



string $g_rss_key_seed [line 3313]

This seed is used as part of the inputs for calculating the authentication key for the RSS feeds.

If this seed changes, all the existing keys for the RSS feeds will become invalid. This is defaulted to the database user name, but it is recommended to overwrite it with a specific value on installation.


Default value:   '%db_username%'


[ Top ]



int $g_send_reset_password [line 257]

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


[ Top ]



string $g_session_handler [line 196]

Session handler. Possible values:

'php' -> Default PHP filesystem sessions 'adodb' -> Database storage sessions 'memcached' -> Memcached storage sessions


Default value:   'php'


[ Top ]



string $g_session_key [line 202]

Session key name. Should be unique between multiple installations to prevent conflicts.

Default value:   'MantisBT'


[ Top ]



bool $g_session_save_path [line 208]

Session save path. If false, uses default value as set by session handler.

Default value:   false


[ Top ]



int $g_session_validation [line 215]

Session validation

WARNING: Disabling this could be a potential security risk!!


Default value:   ON


[ Top ]



int $g_set_bug_sticky_threshold [line 2459]

access level needed to set a bug sticky

Default value:   MANAGER


[ Top ]



int $g_set_configuration_threshold [line 2686]

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


[ Top ]



array $g_set_status_threshold [line 2474]

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()


[ Top ]



int $g_set_view_status_threshold [line 2379]

Threshold needed to set the view status while reporting a bug or a bug note.

Default value:   REPORTER


[ Top ]



string $g_severity_enum_string [line 2939]

Default value:   '10:feature,20:trivial,30:text,40:tweak,50:minor,60:major,70:crash,80:block'


[ Top ]



array $g_severity_multipliers [line 1349]

Define the multipliers which are used to determine the effectiveness of reporters based on the severity of bugs. Higher multipliers will result in an increase in reporter effectiveness.

Default value:   array( FEATURE => 1,
                                    TRIVIAL => 2,
                                    TEXT    => 3,
                                    TWEAK   => 2,
                                    MINOR   => 5,
                                    MAJOR   => 8,
                                    CRASH   => 8,
                                    BLOCK   => 10 )


[ Top ]



int $g_severity_significant_threshold [line 802]

Define the severity level at which a bug becomes significant.

Significant bugs are displayed with emphasis. Set this value to -1 to disable the feature.


Default value:   MAJOR


[ Top ]



string $g_short_date_format [line 988]

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'


[ Top ]



string $g_short_path [line 146]

Short web path without the domain name

requires trailing /


Default value:   $t_path


[ Top ]



int $g_show_assigned_names [line 778]

show assigned to names

This is in the view all pages


Default value:   ON


[ Top ]



int $g_show_attachment_indicator [line 1893]

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

  1. database query per bug listed and thus might slow
down the page display.


Default value:   OFF


[ Top ]



int $g_show_avatar [line 927]

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


[ Top ]



int $g_show_avatar_threshold [line 933]

Only users above this threshold will have their avatar shown

Default value:   DEVELOPER


[ Top ]



int $g_show_bug_project_links [line 851]

show projects when in All Projects mode

Default value:   ON


[ Top ]



int $g_show_changelog_dates [line 945]

Show release dates on changelog

Default value:   ON


[ Top ]



int $g_show_detailed_errors [line 3742]

--- 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


[ Top ]



int $g_show_extended_project_browser [line 3673]

***************

Sub-projects **************** show extra dropdown for subprojects Shows only top projects in the project dropdown and adds an extra dropdown for subprojects.


Default value:   OFF


[ Top ]



int $g_show_footer_menu [line 765]

Display another instance of the menu at the bottom. The top menu will still remain.

Default value:   OFF


[ Top ]



int $g_show_monitor_list_threshold [line 2392]

Threshold needed to show the list of users montoring a bug on the bug view pages.

Default value:   DEVELOPER


[ Top ]



int $g_show_priority_text [line 786]

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


[ Top ]



int $g_show_product_version [line 889]

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


[ Top ]



int $g_show_project_menu_bar [line 771]

show extra menu bar with all available projects

Default value:   OFF


[ Top ]



int $g_show_queries_count [line 3713]

Shows the total number/unique number of queries executed to serve the page.

Default value:   OFF


[ Top ]



int $g_show_queries_list [line 3732]

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


[ Top ]



int $g_show_queries_threshold [line 3723]

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


[ Top ]



int $g_show_realname [line 904]

show users with their real name or not

Default value:   OFF


[ Top ]



int $g_show_roadmap_dates [line 951]

Show release dates on roadmap

Default value:   ON


[ Top ]



string $g_show_sticky_issues [line 1171]

Default value:   ON


[ Top ]



int $g_show_timer [line 3693]

Time page loads. Shows at the bottom of the page.

Default value:   OFF


[ Top ]



int $g_show_user_email_threshold [line 460]

This specifies the access level that is needed to get the mailto: links.

Default value:   NOBODY


[ Top ]



int $g_show_user_realname_threshold [line 466]

This specifies the access level that is needed to see realnames on user view page

Default value:   NOBODY


[ Top ]



int $g_show_version [line 564]

Set to off by default to not expose version to users

Default value:   OFF


[ Top ]



int $g_show_version_dates_threshold [line 898]

The access level threshold at which users will see the date of release for product versions. Dates will be shown next to the product version, target version and fixed in version fields. Set this threshold to NOBODY to disable the feature.

Default value:   NOBODY


[ Top ]



int $g_signup_use_captcha [line 271]

use captcha image to validate subscription it requires GD library installed

Default value:   ON


[ Top ]



string $g_smtp_connection_mode [line 513]

This control the connection mode to SMTP server. Can be 'ssl' or 'tls'

Default value:   ''


[ Top ]



string $g_smtp_host [line 493]

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'


[ Top ]



string $g_smtp_password [line 507]

SMTP Server Authentication password

Default value:   ''


[ Top ]



int $g_smtp_port [line 520]

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


[ Top ]



string $g_smtp_username [line 501]

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:   ''


[ Top ]



int $g_sort_by_last_name [line 916]

sorting for names in dropdown lists. If turned on, "Jane Doe" will be sorted with the "D"s

Default value:   OFF


[ Top ]



array $g_sort_icon_arr [line 3246]

Sort direction to icon mapping

Default value:   array (
      ASCENDING  => 'up.gif',
      DESCENDING => 'down.gif'
   )


[ Top ]



string $g_source_control_account [line 2574]

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:   ''


[ Top ]



string $g_source_control_fixed_regexp [line 2605]

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%"


[ Top ]



int $g_source_control_notes_view_status [line 2566]

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


[ Top ]



string $g_source_control_regexp [line 2597]

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"


[ Top ]



int $g_source_control_set_resolution_to [line 2589]

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


[ Top ]



int $g_source_control_set_status_to [line 2582]

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


[ Top ]



string $g_sponsorship_currency [line 1447]

Currency used for all sponsorships.

Default value:   'US$'


[ Top ]



string $g_sponsorship_enum_string [line 2978]

Default value:   '0:Unpaid,1:Requested,2:Paid'


[ Top ]



int $g_sponsor_threshold [line 1466]

Access level threshold needed to allow user to sponsor issues.

Default value:   REPORTER


[ Top ]



array $g_status_colors [line 2696]

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')


[ Top ]



string $g_status_enum_string [line 2951]

Default value:   '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,80:resolved,90:closed'


[ Top ]



array $g_status_enum_workflow [line 1833]

'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()


[ Top ]



array $g_status_icon_arr [line 3233]

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'
   )


[ Top ]



int $g_status_legend_position [line 858]

Position of the status colour legend, can be: POSITION_*

see constant_inc.php. (*: TOP , BOTTOM , or BOTH)


Default value:   STATUS_LEGEND_POSITION_BOTTOM


[ Top ]



int $g_status_percentage_legend [line 866]

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


[ Top ]



int $g_stop_on_errors [line 3778]

--- 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


[ Top ]



int $g_stored_query_create_shared_threshold [line 2410]

Threshold needed to be able to create shared stored queries

Default value:   MANAGER


[ Top ]



int $g_stored_query_create_threshold [line 2404]

Threshold needed to be able to create stored queries

Default value:   DEVELOPER


[ Top ]



int $g_stored_query_use_threshold [line 2398]

Threshold needed to be able to use stored queries

Default value:   REPORTER


[ Top ]



int $g_store_reminders [line 1410]

are reminders stored as bugnotes

Default value:   ON


[ Top ]



string $g_string_cookie [line 2772]

Default value:   '%cookie_prefix%_STRING_COOKIE'


[ Top ]



int $g_summary_category_include_project [line 1335]

shows project '[project] category' when 'All Projects' is selected

otherwise only 'category name'


Default value:   OFF


[ Top ]



string $g_system_font_folder [line 278]

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:   ''


[ Top ]



int $g_tag_attach_threshold [line 3499]

Access level required to attach tags to a bug

Default value:   REPORTER


[ Top ]



int $g_tag_create_threshold [line 3517]

Access level required to create new tags

Default value:   REPORTER


[ Top ]



int $g_tag_detach_own_threshold [line 3511]

Access level required to detach tags attached by the same user

Default value:   REPORTER


[ Top ]



int $g_tag_detach_threshold [line 3505]

Access level required to detach tags from a bug

Default value:   DEVELOPER


[ Top ]



int $g_tag_edit_own_threshold [line 3529]

Access level required to edit descriptions by the creating user

Default value:   REPORTER


[ Top ]



int $g_tag_edit_threshold [line 3523]

Access level required to edit tag names and descriptions

Default value:   DEVELOPER


[ Top ]



int $g_tag_separator [line 3487]

String that will separate tags as entered for input

Default value:   ','


[ Top ]



int $g_tag_view_threshold [line 3493]

Access level required to view tags attached to a bug

Default value:   VIEWER


[ Top ]



int $g_time_tracking_edit_threshold [line 3563]

access level required to add/edit time tracking information

Default value:   DEVELOPER


[ Top ]



int $g_time_tracking_enabled [line 3539]

Turn on Time Tracking accounting

Default value:   OFF


[ Top ]



int $g_time_tracking_reporting_threshold [line 3569]

access level required to run reports

Default value:   MANAGER


[ Top ]



int $g_time_tracking_stopwatch [line 3551]

Stop watch to build time tracking field

Default value:   OFF


[ Top ]



int $g_time_tracking_view_threshold [line 3557]

access level required to view time tracking information

Default value:   DEVELOPER


[ Top ]



int $g_time_tracking_without_note [line 3575]

allow time tracking to be recorded without a bugnote

Default value:   ON


[ Top ]



int $g_time_tracking_with_billing [line 3545]

A billing sums

Default value:   OFF


[ Top ]



string $g_top_include_page [line 3037]

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%'


[ Top ]



string $g_twitter_password [line 3624]

The twitter account password.

Default value:   ''


[ Top ]



string $g_twitter_username [line 3618]

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:   ''


[ Top ]



array $g_unread_icon_arr [line 3255]

Read status to icon mapping

Default value:   array (
      READ         => 'mantis_space.gif',
      UNREAD       => 'unread.gif'
   )


[ Top ]



int $g_update_bugnote_threshold [line 2283]

Update bugnote threshold (if the bugnote is not your own)

Default value:   DEVELOPER


[ Top ]



int $g_update_bug_assign_threshold [line 2218]

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%'


[ Top ]



int $g_update_bug_status_threshold [line 2441]

status change thresholds

Default value:   DEVELOPER


[ Top ]



int $g_update_bug_threshold [line 2173]

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


[ Top ]



int $g_update_readonly_bug_threshold [line 2417]

Threshold needed to update readonly bugs. Readonly bugs are identified via $g_bug_readonly_status_threshold.

Default value:   MANAGER


[ Top ]



int $g_upload_bug_file_threshold [line 2271]

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


[ Top ]



int $g_upload_project_file_threshold [line 2260]

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


[ Top ]



string $g_user_login_valid_regex [line 2646]

The regular expression to use when validating new user login names

The default regular expression allows a-z, A-Z, 0-9, +, -, dot, 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 See http://en.wikipedia.org/wiki/Regular_Expression for more details about regular expressions. For testing regular expressions, use http://rubular.com/.


Default value:   '/^([a-z\d\-.+_ ]+(@[a-z\d\-.]+\.[a-z]{2,4})?)$/i'


[ Top ]



int $g_use_iis [line 187]

Using Microsoft Internet Information Server (IIS)

ON or OFF


Default value:   $t_use_iis


[ Top ]



int $g_use_javascript [line 2994]

allow the use of Javascript?

Default value:   ON


[ Top ]



int $g_use_ldap_email [line 1695]

Should we send to the LDAP email address or what MySql tells us

Default value:   OFF


[ Top ]



int $g_use_ldap_realname [line 1702]

Whether or not to pull the real name from LDAP.

ON from LDAP, OFF from database.


Default value:   OFF


[ Top ]



int $g_use_persistent_connections [line 3020]

Use persistent database connections

Default value:   OFF


[ Top ]



int $g_validate_email [line 431]

set to OFF to disable email check

Default value:   ON


[ Top ]



string $g_version_suffix [line 570]

String appended to the MantisBT version when displayed to the user

Default value:   ''


[ Top ]



string $g_view_all_cookie [line 2784]

Default value:   '%cookie_prefix%_VIEW_ALL_COOKIE'


[ Top ]



int $g_view_attachments_threshold [line 1900]

access level needed to view bugs attachments. View means to see the file names sizes, and timestamps of the attachments.

Default value:   VIEWER


[ Top ]



int $g_view_changelog_threshold [line 2423]

threshold for viewing changelog

Default value:   VIEWER


[ Top ]



int $g_view_configuration_threshold [line 2677]

threshold for users to view the system configurations

Default value:   ADMINISTRATOR


[ Top ]



int $g_view_filters [line 2824]

Default value:   SIMPLE_DEFAULT


[ Top ]



int $g_view_handler_threshold [line 2232]

access level needed to view handler in bug reports and notification email



Tags:

todo:  yarick123: now it is implemented for notification email only
Default value:   VIEWER


[ Top ]



int $g_view_history_threshold [line 2239]

access level needed to view history in bug reports and notification email



Tags:

todo:  yarick123: now it is implemented for notification email only
Default value:   VIEWER


[ Top ]



array $g_view_issues_page_columns [line 821]

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' )


[ Top ]



int $g_view_proj_doc_threshold [line 2289]

Threshold needed to view project documentation

Default value:   ANYBODY


[ Top ]



int $g_view_sponsorship_details_threshold [line 1460]

Access level threshold needed to view the users sponsoring an issue and the sponsorship amount for each.

Default value:   VIEWER


[ Top ]



int $g_view_sponsorship_total_threshold [line 1453]

Access level threshold needed to view the total sponsorship for an issue by all users.

Default value:   VIEWER


[ Top ]



string $g_view_state_enum_string [line 2928]

Default value:   '10:public,50:private'


[ Top ]



int $g_view_summary_threshold [line 1341]

threshold for viewing summary

Default value:   MANAGER


[ Top ]



string $g_webmaster_email [line 315]

Webmaster email

Default value:   'webmaster@example.com'


[ Top ]



int $g_wiki_enable [line 3443]

Wiki Integration Enabled?

Default value:   OFF


[ Top ]



string $g_wiki_engine [line 3449]

Wiki Engine (supported engines: 'dokuwiki', 'mediawiki', 'twiki', 'wikka', 'xwiki')

Default value:   ''


[ Top ]



string $g_wiki_engine_url [line 3461]

URL under which the wiki engine is hosted. Must be on the same server.

Default value:   $t_protocol . '://' . $t_host . '/%wiki_engine%/'


[ Top ]



string $g_wiki_root_namespace [line 3455]

Wiki namespace to be used as root for all pages relating to this MantisBT installation.

Default value:   'mantis'


[ Top ]



string $g_window_title [line 709]

browser window title

Default value:   'MantisBT'


[ Top ]



int $g_wrap_in_preformatted_text [line 1617]

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


[ Top ]






Documentation generated on Sun, 12 Dec 2010 23:50:17 +0900 by phpDocumentor 1.4.3
inserted by FC2 system