Misc

$g_user_login_valid_regex

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 Wikipedia for more details about regular expressions. For testing regular expressions, use Rubular.

$g_monitor_bug_threshold

Access level needed to monitor bugs. The default value is REPORTER.

$g_monitor_add_others_bug_threshold

Access level needed to add other users to the list of users monitoring a bug. The default value is DEVELOPER.

$g_monitor_delete_others_bug_threshold

Access level needed to delete other users from the list of users monitoring a bug. The default value is DEVELOPER.

$g_limit_reporters

Limit reporters to only viewing bugs that they report.

$g_allow_reporter_close

Allow reporters to close the bugs they reported.

$g_allow_close_immediately

Allow developers and above to close bugs immediately when resolving bugs.

$g_allow_bug_delete_access_level

Allow the specified access level and above to delete bugs.

$g_bug_move_access_level

Allow the specified access level and above to move bugs between projects.

$g_allow_account_delete

Allow users to delete their own accounts.

$g_allow_anonymous_login

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.

$g_anonymous_account

Define the account which anonymous users will assume when using Mantis. This account is considered by Mantis to be protected from modification. In other words, this account can only be modified by users with an access level equal to or higher than $g_manage_user_threshold. Anonymous users will not be able to adjust preferences or change account settings like normal users can.

You will need to create a new account to use for this $g_anonymous_account setting. When creating the account you should specify a password, email address and so forth in the same way you'd create any other account. It is suggested that the access level for this account be set to VIEWER or some other read only level.

The anonymous user account will not receive standard notifications and can not monitor issues.

The default setting is blank/undefined. You only need to define this setting when $g_allow_anonymous_login is set to ON.

$g_cvs_web

This allows for quick linking to CVS files via CVSweb or ViewCVS.

$g_bug_link_tag

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

$g_show_timer

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

$g_show_queries_count

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

$g_show_queries_list

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. Default is OFF. WARNING: Potential security hazard. Only turn this on when you really need it (for debugging or profiling)

$g_register_globals

If your register_globals is Off then set this to OFF. Check your register_globals setting in php.ini or phpinfo().

$g_enable_project_documentation

Specifies whether to enable support for project documents or not. Default is OFF. This feature is deprecated and is expected to be moved to a plugin in the future.

$g_admin_site_threshold

Threshold at which a user is considered to be a site administrator. These users have the highest level of access to your Mantis installation. This access level is required to change key Mantis settings (such as server paths) and perform other administrative duties. You may need to change this value from the default of ADMINISTRATOR if you have defined a new access level to replace the default ADMINISTRATOR level in constant_inc.php.

Warning

This is a potentially dangerous configuration option. Users at or above this threshold value will have permission to all aspects of Mantis including the admin/ directory. With this access level, users can damage your installation of Mantis, destroy your database or have elevated access to your server.

DO NOT CHANGE THIS VALUE UNLESS YOU ABSOLUTELY KNOW WHAT YOU'RE DOING. BE VERY CAREFUL WITH CHANGING THIS CONFIGURATION VALUE FROM THE DEFAULT SETTING.

$g_view_configuration_threshold

Threshold for users to view the raw system configurations as stored in the database. The default value is ADMINISTRATOR.

$g_set_configuration_threshold

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. The default value is ADMINISTRATOR.