|
|
4c79b5 |
|
|
|
4c79b5 |
# Mantis - a php based bugtracking system
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Copyright (C) 2000 - 2002 Kenzaburo Ito - kenito@300baud.org
|
|
|
4c79b5 |
# Copyright (C) 2002 - 2007 Mantis Team - mantisbt-dev@lists.sourceforge.net
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Mantis is free software: you can redistribute it and/or modify
|
|
|
4c79b5 |
# it under the terms of the GNU General Public License as published by
|
|
|
4c79b5 |
# the Free Software Foundation, either version 2 of the License, or
|
|
|
4c79b5 |
# (at your option) any later version.
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# Mantis is distributed in the hope that it will be useful,
|
|
|
4c79b5 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
4c79b5 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
4c79b5 |
# GNU General Public License for more details.
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# You should have received a copy of the GNU General Public License
|
|
|
4c79b5 |
# along with Mantis. If not, see <http://www.gnu.org/licenses/>.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --------------------------------------------------------
|
|
|
4c79b5 |
# $Id: config_defaults_inc.php,v 1.364.2.6 2007-10-28 15:39:30 nuclear_eclipse Exp $
|
|
|
4c79b5 |
# --------------------------------------------------------
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
###########################################################################
|
|
|
4c79b5 |
# CONFIGURATION VARIABLES
|
|
|
4c79b5 |
###########################################################################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# config_defaults_inc.php
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# This file should not be changed. If you want to override any of the values
|
|
|
4c79b5 |
# defined here, define them in a file called config_inc.php, which will
|
|
|
4c79b5 |
# be loaded after this file.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# In general a value of OFF means the feature is disabled and ON means the
|
|
|
4c79b5 |
# feature is enabled. Any other cases will have an explanation.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# For more details see http://manual.mantisbt.org/
|
|
|
4c79b5 |
|
|
|
4c79b5 |
################################
|
|
|
4c79b5 |
# Mantis Database Settings
|
|
|
4c79b5 |
################################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- database variables ---------
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# set these values to match your setup
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# hostname should be either a hostname or connection string to supply to adodb.
|
|
|
4c79b5 |
# For example, if you would like to connect to a mysql server on the local machine,
|
|
|
4c79b5 |
# set hostname to 'localhost', and db_type to 'mysql'.
|
|
|
4c79b5 |
# If you need to supply a port to connect to, set hostname as 'localhost:3306'.
|
|
|
4c79b5 |
$g_hostname = 'localhost';
|
|
|
4c79b5 |
$g_db_username = 'root';
|
|
|
4c79b5 |
$g_db_password = '';
|
|
|
4c79b5 |
$g_database_name = 'bugtracker';
|
|
|
4c79b5 |
$g_db_schema = ''; // used in the case of db2
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Supported types: 'mysql' or 'mysqli' for MySQL, 'pgsql' for PostgreSQL,
|
|
|
4c79b5 |
# 'mssql' for MS SQL Server, 'oci8' for Oracle, and 'db2' for DB2.
|
|
|
4c79b5 |
$g_db_type = 'mysql';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
# Mantis Path Settings
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- path variables --------------
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# path to your installation as seen from the web browser
|
|
|
4c79b5 |
# requires trailing /
|
|
|
4c79b5 |
if ( isset ( $_SERVER['PHP_SELF'] ) ) {
|
|
|
4c79b5 |
$t_protocol = 'http';
|
|
|
4c79b5 |
if ( isset( $_SERVER['HTTPS'] ) && ( strtolower( $_SERVER['HTTPS'] ) != 'off' ) ) {
|
|
|
4c79b5 |
$t_protocol = 'https';
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# $_SERVER['SERVER_PORT'] is not defined in case of php-cgi.exe
|
|
|
4c79b5 |
if ( isset( $_SERVER['SERVER_PORT'] ) ) {
|
|
|
4c79b5 |
$t_port = ':' . $_SERVER['SERVER_PORT'];
|
|
|
4c79b5 |
if ( ( ':80' == $t_port && 'http' == $t_protocol )
|
|
|
4c79b5 |
|| ( ':443' == $t_port && 'https' == $t_protocol )) {
|
|
|
4c79b5 |
$t_port = '';
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
} else {
|
|
|
4c79b5 |
$t_port = '';
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if ( isset( $_SERVER['HTTP_X_FORWARDED_HOST'] ) ) { // Support ProxyPass
|
|
|
4c79b5 |
$t_host = $_SERVER['HTTP_X_FORWARDED_HOST'];
|
|
|
4c79b5 |
} else if ( isset( $_SERVER['HTTP_HOST'] ) ) {
|
|
|
4c79b5 |
$t_host = $_SERVER['HTTP_HOST'];
|
|
|
4c79b5 |
} else if ( isset( $_SERVER['SERVER_NAME'] ) ) {
|
|
|
4c79b5 |
$t_host = $_SERVER['SERVER_NAME'] . $t_port;
|
|
|
4c79b5 |
} else if ( isset( $_SERVER['SERVER_ADDR'] ) ) {
|
|
|
4c79b5 |
$t_host = $_SERVER['SERVER_ADDR'] . $t_port;
|
|
|
4c79b5 |
} else {
|
|
|
4c79b5 |
$t_host = 'www.example.com';
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
$t_path = dirname( strip_tags( $_SERVER['PHP_SELF'] ) );
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Remove /api/soap/ from the path to handle the case where the config_defaults_inc.php is included from the
|
|
|
4c79b5 |
# soap api.
|
|
|
4c79b5 |
$t_soap_api_path = '/api/soap';
|
|
|
4c79b5 |
$t_soap_api_path_pos = strpos( strtolower( $t_path ), $t_soap_api_path );
|
|
|
4c79b5 |
if ( $t_soap_api_path_pos !== false ) {
|
|
|
4c79b5 |
if ( $t_soap_api_path_pos == ( strlen( $t_path ) - strlen( $t_soap_api_path ) ) ) {
|
|
|
4c79b5 |
$t_path = substr( $t_path, 0, $t_soap_api_path_pos );
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
if ( '/' == $t_path || '\\' == $t_path ) {
|
|
|
4c79b5 |
$t_path = '';
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
$g_path = $t_protocol . '://' . $t_host . $t_path.'/';
|
|
|
4c79b5 |
} else {
|
|
|
4c79b5 |
$g_path = 'http://www.example.com/mantis/';
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# path to your images directory (for icons)
|
|
|
4c79b5 |
# requires trailing /
|
|
|
4c79b5 |
$g_icon_path = '%path%images/';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# absolute path to your installation. Requires trailing / or \
|
|
|
4c79b5 |
# Symbolic links are allowed since release 0.17.3
|
|
|
4c79b5 |
$g_absolute_path = dirname( __FILE__ ) . DIRECTORY_SEPARATOR;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# absolute patch to your core files. The default is usually OK,
|
|
|
4c79b5 |
# unless you moved the 'core' directory out of your webroot (recommended).
|
|
|
4c79b5 |
$g_core_path = $g_absolute_path . 'core' . DIRECTORY_SEPARATOR;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Used to link to manual for User Documentation.
|
|
|
4c79b5 |
$g_manual_url = 'http://manual.mantisbt.org/';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
# Web Server
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Using Microsoft Internet Information Server (IIS)
|
|
|
4c79b5 |
if ( isset( $_SERVER['SERVER_SOFTWARE'] ) ) { # SERVER_SOFTWARE not defined in case of php-cgi.exe
|
|
|
4c79b5 |
$g_use_iis = ( strstr( $_SERVER['SERVER_SOFTWARE'], 'IIS' ) !== false ) ? ON : OFF;
|
|
|
4c79b5 |
} else {
|
|
|
4c79b5 |
$g_use_iis = OFF;
|
|
|
4c79b5 |
}
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Session handler. Possible values:
|
|
|
4c79b5 |
# 'php' -> Default PHP filesystem sessions
|
|
|
4c79b5 |
# 'adodb' -> Database storage sessions
|
|
|
4c79b5 |
# 'memcached' -> Memcached storage sessions
|
|
|
4c79b5 |
$g_session_handler = 'php';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
# Configuration Settings
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# The following list of variables should never be in the database.
|
|
|
4c79b5 |
# These patterns will be concatenated and used as a regular expression
|
|
|
4c79b5 |
# to bypass the database lookup and look here for appropriate global settings.
|
|
|
4c79b5 |
$g_global_settings = array(
|
|
|
4c79b5 |
'_table$', 'cookie', '^db_', 'hostname', 'database_name', 'session_handler',
|
|
|
4c79b5 |
'_path$', 'use_iis', 'language', 'use_javascript', 'display_errors', 'stop_on_errors', 'login_method', '_file$',
|
|
|
4c79b5 |
'anonymous', 'content_expire', 'html_valid_tags', 'custom_headers', 'rss_key_seed'
|
|
|
4c79b5 |
);
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
# Signup and Lost Password
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- signup ----------------------
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# allow users to signup for their own accounts.
|
|
|
4c79b5 |
# Mail settings must be correctly configured in order for this to work
|
|
|
4c79b5 |
$g_allow_signup = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Max. attempts to login using a wrong password before lock the account.
|
|
|
4c79b5 |
# When locked, it's required to reset the password (lost password)
|
|
|
4c79b5 |
# Value resets to zero at each successfully login
|
|
|
4c79b5 |
# Set to OFF to disable this control
|
|
|
4c79b5 |
$g_max_failed_login_count = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level required to be notified when a new user has been created using the "signup form"
|
|
|
4c79b5 |
$g_notify_new_user_created_threshold_min = ADMINISTRATOR;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# if ON users will be sent their password when reset.
|
|
|
4c79b5 |
# if OFF the password will be set to blank. If set to ON, mail settings must be
|
|
|
4c79b5 |
# correctly configured.
|
|
|
4c79b5 |
$g_send_reset_password = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# String used to generate the confirm_hash for the 'lost password' feature and captcha code for 'signup'
|
|
|
4c79b5 |
# ATTENTION: CHANGE IT TO WHATEVER VALUE YOU PREFER
|
|
|
4c79b5 |
$g_password_confirm_hash_magic_string = 'blowfish';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- captcha image ---------------
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# use captcha image to validate subscription it requires GD library installed
|
|
|
4c79b5 |
$g_signup_use_captcha = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# absolute path (with trailing slash!) to folder which contains your TrueType-Font files
|
|
|
4c79b5 |
# used to create the captcha image and since 0.19.3 for the Relationship Graphs
|
|
|
4c79b5 |
$g_system_font_folder = 'c:/winnt/fonts/';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# font name used to create the captcha image. i.e. arial.ttf
|
|
|
4c79b5 |
# (the font file has to exist in the system_font_folder)
|
|
|
4c79b5 |
$g_font_per_captcha = 'arial.ttf';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- lost password -------------
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Setting to disable the 'lost your password' feature.
|
|
|
4c79b5 |
$g_lost_password_feature = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Max. simultaneous requests of 'lost password'
|
|
|
4c79b5 |
# When this value is reached, it's no longer possible to request new password reset
|
|
|
4c79b5 |
# Value resets to zero at each successfully login
|
|
|
4c79b5 |
$g_max_lost_password_in_progress_count = 3;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
# Mantis Email Settings
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- email variables -------------
|
|
|
4c79b5 |
$g_administrator_email = 'administrator@example.com';
|
|
|
4c79b5 |
$g_webmaster_email = 'webmaster@example.com';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# the sender email, part of 'From: ' header in emails
|
|
|
4c79b5 |
$g_from_email = 'noreply@example.com';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# the sender name, part of 'From: ' header in emails
|
|
|
4c79b5 |
$g_from_name = 'Mantis Bug Tracker';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# the return address for bounced mail
|
|
|
4c79b5 |
$g_return_path_email = 'admin@example.com';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# allow email notification
|
|
|
4c79b5 |
# note that if this is disabled, sign-up and password reset messages will
|
|
|
4c79b5 |
# not be sent.
|
|
|
4c79b5 |
$g_enable_email_notification = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# The following two config options allow you to control who should get email
|
|
|
4c79b5 |
# notifications on different actions/statuses. The first option (default_notify_flags)
|
|
|
4c79b5 |
# sets the default values for different user categories. The user categories
|
|
|
4c79b5 |
# are:
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# 'reporter': the reporter of the bug
|
|
|
4c79b5 |
# 'handler': the handler of the bug
|
|
|
4c79b5 |
# 'monitor': users who are monitoring a bug
|
|
|
4c79b5 |
# 'bugnotes': users who have added a bugnote to the bug
|
|
|
4c79b5 |
# 'threshold_max': all users with access <= max
|
|
|
4c79b5 |
# 'threshold_min': ..and with access >= min
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# The second config option (notify_flags) sets overrides for specific actions/statuses.
|
|
|
4c79b5 |
# If a user category is not listed for an action, the default from the config
|
|
|
4c79b5 |
# option above is used. The possible actions are:
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# 'new': a new bug has been added
|
|
|
4c79b5 |
# 'owner': a bug has been assigned to a new owner
|
|
|
4c79b5 |
# 'reopened': a bug has been reopened
|
|
|
4c79b5 |
# 'deleted': a bug has been deleted
|
|
|
4c79b5 |
# 'updated': a bug has been updated
|
|
|
4c79b5 |
# 'bugnote': a bugnote has been added to a bug
|
|
|
4c79b5 |
# 'sponsor': sponsorship has changed on this bug
|
|
|
4c79b5 |
# 'relation': a relationship has changed on this bug
|
|
|
4c79b5 |
# '<status>': eg: 'resolved', 'closed', 'feedback', 'acknowledged', ...etc.
|
|
|
4c79b5 |
# this list corresponds to $g_status_enum_string
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# If you wanted to have all developers get notified of new bugs you might add
|
|
|
4c79b5 |
# the following lines to your config file:
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# $g_notify_flags['new']['threshold_min'] = DEVELOPER;
|
|
|
4c79b5 |
# $g_notify_flags['new']['threshold_max'] = DEVELOPER;
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# You might want to do something similar so all managers are notified when a
|
|
|
4c79b5 |
# bug is closed. If you didn't want reporters to be notified when a bug is
|
|
|
4c79b5 |
# closed (only when it is resolved) you would use:
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# $g_notify_flags['closed']['reporter'] = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
$g_default_notify_flags = array('reporter' => ON,
|
|
|
4c79b5 |
'handler' => ON,
|
|
|
4c79b5 |
'monitor' => ON,
|
|
|
4c79b5 |
'bugnotes' => ON,
|
|
|
4c79b5 |
'threshold_min' => NOBODY,
|
|
|
4c79b5 |
'threshold_max' => NOBODY);
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# We don't need to send these notifications on new bugs
|
|
|
4c79b5 |
# (see above for info on this config option)
|
|
|
4c79b5 |
#@@@ (though I'm not sure they need to be turned off anymore
|
|
|
4c79b5 |
# - there just won't be anyone in those categories)
|
|
|
4c79b5 |
# I guess it serves as an example and a placeholder for this
|
|
|
4c79b5 |
# config option
|
|
|
4c79b5 |
$g_notify_flags['new'] = array('bugnotes' => OFF,
|
|
|
4c79b5 |
'monitor' => OFF);
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Whether user's should receive emails for their own actions
|
|
|
4c79b5 |
$g_email_receive_own = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# set to OFF to disable email check
|
|
|
4c79b5 |
$g_validate_email = ( substr( php_uname(), 0, 7 ) == 'Windows' ) ? OFF : ON;
|
|
|
4c79b5 |
$g_check_mx_record = OFF; # Not supported under Windows.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# if ON, allow the user to omit an email field
|
|
|
4c79b5 |
# note if you allow users to create their own accounts, they
|
|
|
4c79b5 |
# must specify an email at that point, no matter what the value
|
|
|
4c79b5 |
# of this option is. Otherwise they wouldn't get their passwords.
|
|
|
4c79b5 |
$g_allow_blank_email = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Only allow and send email to addresses in the given domain
|
|
|
4c79b5 |
# For example:
|
|
|
4c79b5 |
# $g_limit_email_domain = 'users.sourceforge.net';
|
|
|
4c79b5 |
$g_limit_email_domain = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# This specifies the access level that is needed to get the mailto: links.
|
|
|
4c79b5 |
$g_show_user_email_threshold = NOBODY;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# If use_x_priority is set to ON, what should the value be?
|
|
|
4c79b5 |
# Urgent = 1, Not Urgent = 5, Disable = 0
|
|
|
4c79b5 |
# Note: some MTAs interpret X-Priority = 0 to mean 'Very Urgent'
|
|
|
4c79b5 |
$g_mail_priority = 3;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# select the method to mail by:
|
|
|
4c79b5 |
# 0 - mail()
|
|
|
4c79b5 |
# 1 - sendmail
|
|
|
4c79b5 |
# 2 - SMTP
|
|
|
4c79b5 |
$g_phpMailer_method = 0;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# This option allows you to use a remote SMTP host. Must use the phpMailer script
|
|
|
4c79b5 |
# One or more hosts, separated by a semicolon, can be listed.
|
|
|
4c79b5 |
# You can also specify a different port for each host by using this
|
|
|
4c79b5 |
# format: [hostname:port] (e.g. "smtp1.example.com:25;smtp2.example.com").
|
|
|
4c79b5 |
# Hosts will be tried in order.
|
|
|
4c79b5 |
$g_smtp_host = 'localhost';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# These options allow you to use SMTP Authentication when you use a remote
|
|
|
4c79b5 |
# SMTP host with phpMailer. If smtp_username is not '' then the username
|
|
|
4c79b5 |
# and password will be used when logging in to the SMTP server.
|
|
|
4c79b5 |
$g_smtp_username = '';
|
|
|
4c79b5 |
$g_smtp_password = '';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# It is recommended to use a cronjob or a scheduler task to send emails.
|
|
|
4c79b5 |
# The cronjob should typically run every 5 minutes. If no cronjob is used,
|
|
|
4c79b5 |
# then user will have to wait for emails to be sent after performing an action
|
|
|
4c79b5 |
# which triggers notifications. This slows user performance.
|
|
|
4c79b5 |
$g_email_send_using_cronjob = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Specify whether e-mails should be sent with the category set or not. This is tested
|
|
|
4c79b5 |
# with Microsoft Outlook. More testing for this feature + other formats will be added
|
|
|
4c79b5 |
# in the future.
|
|
|
4c79b5 |
# OFF, EMAIL_CATEGORY_PROJECT_CATEGORY (format: [Project] Category)
|
|
|
4c79b5 |
$g_email_set_category = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- email separator and padding ------------
|
|
|
4c79b5 |
$g_email_separator1 = str_pad('', 70, '=');
|
|
|
4c79b5 |
$g_email_separator2 = str_pad('', 70, '-');
|
|
|
4c79b5 |
$g_email_padding_length = 28;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
# Mantis Version String
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- version variables -----------
|
|
|
4c79b5 |
$g_show_version = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
################################
|
|
|
4c79b5 |
# Mantis Language Settings
|
|
|
4c79b5 |
################################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- language settings -----------
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# If the language is set to 'auto', the actual
|
|
|
4c79b5 |
# language is determined by the user agent (web browser)
|
|
|
4c79b5 |
# language preference.
|
|
|
4c79b5 |
$g_default_language = 'english';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# list the choices that the users are allowed to choose
|
|
|
4c79b5 |
$g_language_choices_arr = array(
|
|
|
4c79b5 |
'auto',
|
|
|
4c79b5 |
'bulgarian',
|
|
|
4c79b5 |
'catalan',
|
|
|
4c79b5 |
'chinese_simplified',
|
|
|
4c79b5 |
'chinese_traditional',
|
|
|
4c79b5 |
'croatian',
|
|
|
4c79b5 |
'czech',
|
|
|
4c79b5 |
'danish',
|
|
|
4c79b5 |
'dutch',
|
|
|
4c79b5 |
'english',
|
|
|
4c79b5 |
'estonian',
|
|
|
4c79b5 |
'finnish',
|
|
|
4c79b5 |
'french',
|
|
|
4c79b5 |
'german',
|
|
|
4c79b5 |
'german_eintrag',
|
|
|
4c79b5 |
'greek',
|
|
|
4c79b5 |
'hebrew',
|
|
|
4c79b5 |
'hungarian',
|
|
|
4c79b5 |
'icelandic',
|
|
|
4c79b5 |
'italian',
|
|
|
4c79b5 |
'japanese',
|
|
|
4c79b5 |
'korean',
|
|
|
4c79b5 |
'latvian',
|
|
|
4c79b5 |
'lithuanian',
|
|
|
4c79b5 |
'norwegian',
|
|
|
4c79b5 |
'polish',
|
|
|
4c79b5 |
'portuguese_brazil',
|
|
|
4c79b5 |
'portuguese_standard',
|
|
|
4c79b5 |
'romanian',
|
|
|
4c79b5 |
'russian',
|
|
|
4c79b5 |
'serbian',
|
|
|
4c79b5 |
'slovak',
|
|
|
4c79b5 |
'slovene',
|
|
|
4c79b5 |
'spanish',
|
|
|
4c79b5 |
'swedish',
|
|
|
4c79b5 |
'turkish',
|
|
|
4c79b5 |
'ukrainian',
|
|
|
4c79b5 |
'urdu',
|
|
|
4c79b5 |
);
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Browser language mapping for 'auto' language selection
|
|
|
4c79b5 |
$g_language_auto_map = array(
|
|
|
4c79b5 |
'bg' => 'bulgarian',
|
|
|
4c79b5 |
'ca' => 'catalan',
|
|
|
4c79b5 |
'zh-cn, zh-sg, zh' => 'chinese_simplified',
|
|
|
4c79b5 |
'zh-hk, zh-tw' => 'chinese_traditional',
|
|
|
4c79b5 |
'cs' => 'czech',
|
|
|
4c79b5 |
'da' => 'danish',
|
|
|
4c79b5 |
'nl-be, nl' => 'dutch',
|
|
|
4c79b5 |
'en-us, en-gb, en-au, en' => 'english',
|
|
|
4c79b5 |
'et' => 'estonian',
|
|
|
4c79b5 |
'fi' => 'finnish',
|
|
|
4c79b5 |
'fr-ca, fr-be, fr-ch, fr' => 'french',
|
|
|
4c79b5 |
'de-de, de-at, de-ch, de' => 'german',
|
|
|
4c79b5 |
'he' => 'hebrew',
|
|
|
4c79b5 |
'hu' => 'hungarian',
|
|
|
4c79b5 |
'hr' => 'croatian',
|
|
|
4c79b5 |
'is' => 'icelandic',
|
|
|
4c79b5 |
'it-ch, it' => 'italian',
|
|
|
4c79b5 |
'ja' => 'japanese',
|
|
|
4c79b5 |
'ko' => 'korean',
|
|
|
4c79b5 |
'lt' => 'lithuanian',
|
|
|
4c79b5 |
'lv' => 'latvian',
|
|
|
4c79b5 |
'no' => 'norwegian',
|
|
|
4c79b5 |
'pl' => 'polish',
|
|
|
4c79b5 |
'pt-br' => 'portugese_brazil',
|
|
|
4c79b5 |
'pt' => 'portugese_standard',
|
|
|
4c79b5 |
'ro-mo, ro' => 'romanian',
|
|
|
4c79b5 |
'ru-mo, ru-ru, ru-ua, ru' => 'russian',
|
|
|
4c79b5 |
'sr' => 'serbian',
|
|
|
4c79b5 |
'sk' => 'slovak',
|
|
|
4c79b5 |
'sl' => 'slovene',
|
|
|
4c79b5 |
'es-mx, es-co, es-ar, es-cl, es-pr, es' => 'spanish',
|
|
|
4c79b5 |
'sv-fi, sv' => 'swedish',
|
|
|
4c79b5 |
'tr' => 'turkish',
|
|
|
4c79b5 |
'uk' => 'ukrainian'
|
|
|
4c79b5 |
);
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Fallback for automatic language selection
|
|
|
4c79b5 |
$g_fallback_language = 'english';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
###############################
|
|
|
4c79b5 |
# Mantis Display Settings
|
|
|
4c79b5 |
###############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- sitewide variables ----------
|
|
|
4c79b5 |
$g_window_title = 'Mantis'; # browser window title
|
|
|
4c79b5 |
$g_page_title = ''; # title at top of html page (empty by default, since there is a logo now)
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- advanced views --------------
|
|
|
4c79b5 |
# BOTH, SIMPLE_ONLY, ADVANCED_ONLY
|
|
|
4c79b5 |
$g_show_report = BOTH;
|
|
|
4c79b5 |
$g_show_update = BOTH;
|
|
|
4c79b5 |
$g_show_view = BOTH;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- top menu items --------------
|
|
|
4c79b5 |
# Specifies whether to enable support for project documents or not.
|
|
|
4c79b5 |
$g_enable_project_documentation = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- footer menu -----------------
|
|
|
4c79b5 |
# Display another instance of the menu at the bottom. The top menu will still remain.
|
|
|
4c79b5 |
$g_show_footer_menu = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- show extra menu bar with all available projects ---
|
|
|
4c79b5 |
$g_show_project_menu_bar = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- show extra dropdown for subprojects ---
|
|
|
4c79b5 |
# Shows only top projects in the project dropdown and adds an extra dropdown for subprojects.
|
|
|
4c79b5 |
$g_show_extended_project_browser = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- show assigned to names ------
|
|
|
4c79b5 |
# This is in the view all pages
|
|
|
4c79b5 |
$g_show_assigned_names = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- show priority as icon ---
|
|
|
4c79b5 |
# OFF: Shows priority as icon in view all bugs page
|
|
|
4c79b5 |
# ON: Shows priority as text in view all bugs page
|
|
|
4c79b5 |
$g_show_priority_text = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# A configuration option that identifies the columns to be shown on the View Issues page.
|
|
|
4c79b5 |
# In Mantis 1.1, this option can be overriden using the Generic Configuration screen.
|
|
|
4c79b5 |
# This configuration can be overriden dynamically by overriding the custom function "get_columns_to_view".
|
|
|
4c79b5 |
# Some of the columns specified here can be removed automatically if they conflict with other configuration.
|
|
|
4c79b5 |
# For example, sponsorship_total will be removed if sponsorships are disabled.
|
|
|
4c79b5 |
# To include custom field 'xyz', include the column name as 'custom_xyz'.
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# Standard Column Names (i.e. names to choose from):
|
|
|
4c79b5 |
# selection, edit, id, project_id, reporter_id, handler_id, priority, reproducibility, projection, eta,
|
|
|
4c79b5 |
# resolution, fixed_in_version, view_state, os, os_build, platform, version, date_submitted, attachment,
|
|
|
4c79b5 |
# category, sponsorship_total, severity, status, last_updated, summary, bugnotes_count
|
|
|
4c79b5 |
$g_view_issues_page_columns = array ( 'selection', 'edit', 'priority', 'id', 'sponsorship_total', 'bugnotes_count', 'attachment', 'category', 'severity', 'status', 'last_updated', 'summary' );
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# A configuration option that identifies the columns to be show on the print issues page.
|
|
|
4c79b5 |
# In Mantis 1.1, this option can be overriden using the Generic Configuration screen.
|
|
|
4c79b5 |
# This configuration can be overriden dynamically by overriding the custom function "get_columns_to_view".
|
|
|
4c79b5 |
$g_print_issues_page_columns = array ( 'selection', 'priority', 'id', 'sponsorship_total', 'bugnotes_count', 'attachment', 'category', 'severity', 'status', 'last_updated', 'summary' );
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# A configuration option that identifies the columns to be include in the CSV export.
|
|
|
4c79b5 |
# In Mantis 1.1, this option can be overriden using the Generic Configuration screen.
|
|
|
4c79b5 |
# This configuration can be overriden dynamically by overriding the custom function "get_columns_to_view".
|
|
|
4c79b5 |
$g_csv_columns = array ( 'id', 'project_id', 'reporter_id', 'handler_id', 'priority', 'severity', 'reproducibility', 'version', 'projection', 'category', 'date_submitted', 'eta', 'os', 'os_build', 'platform', 'view_state', 'last_updated', 'summary', 'status', 'resolution', 'fixed_in_version', 'duplicate_id' );
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- show projects when in All Projects mode ---
|
|
|
4c79b5 |
$g_show_bug_project_links = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- Position of the status colour legend, can be: STATUS_LEGEND_POSITION_*
|
|
|
4c79b5 |
# --- see constant_inc.php. (*: TOP , BOTTOM , or BOTH)
|
|
|
4c79b5 |
$g_status_legend_position = STATUS_LEGEND_POSITION_BOTTOM;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- Show a legend with percentage of bug status
|
|
|
4c79b5 |
# --- x% of all bugs are new, y% of all bugs are assigned and so on.
|
|
|
4c79b5 |
# --- If set to ON it will printed below the status colour legend.
|
|
|
4c79b5 |
$g_status_percentage_legend = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- Position of the filter box, can be: FILTER_POSITION_*
|
|
|
4c79b5 |
# FILTER_POSITION_TOP, FILTER_POSITION_BOTTOM, or 0 for none.
|
|
|
4c79b5 |
$g_filter_position = FILTER_POSITION_TOP;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- show product versions in create, view and update screens
|
|
|
4c79b5 |
# ON forces display even if none are defined
|
|
|
4c79b5 |
# OFF suppresses display
|
|
|
4c79b5 |
# AUTO suppresses the display if there are no versions defined for the project
|
|
|
4c79b5 |
$g_show_product_version = AUTO;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# -- show users with their real name or not
|
|
|
4c79b5 |
$g_show_realname = OFF;
|
|
|
4c79b5 |
$g_differentiate_duplicates = OFF; # leave off for now
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# -- sorting for names in dropdown lists. If turned on, "Jane Doe" will be sorted with the "D"s
|
|
|
4c79b5 |
$g_sort_by_last_name = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Show user avatar
|
|
|
4c79b5 |
# the current implementation is based on http://www.gravatar.com
|
|
|
4c79b5 |
# users will need to register there the same address used in
|
|
|
4c79b5 |
# this mantis installation to have their avatar shown
|
|
|
4c79b5 |
# Please note: upon registration or avatar change, it takes some time for
|
|
|
4c79b5 |
# the updated gravatar images to show on sites
|
|
|
4c79b5 |
$g_show_avatar = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Only users above this threshold will have their avatar shown
|
|
|
4c79b5 |
$g_show_avatar_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Default avatar for users without a gravatar account
|
|
|
4c79b5 |
$g_default_avatar = "%path%images/no_avatar.png";
|
|
|
4c79b5 |
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
# Mantis JPGRAPH Addon
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- jpgraph settings --- #
|
|
|
4c79b5 |
# Initial Version from Duncan Lisset
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# To use the Jpgraph addon you need the JPGRAPH package from
|
|
|
4c79b5 |
# http://www.aditus.nu/jpgraph/index.php
|
|
|
4c79b5 |
# You can place the package whereever you want, but you have
|
|
|
4c79b5 |
# to set the var in jpgraph.php eg.
|
|
|
4c79b5 |
# (DEFINE('DIR_BASE','/www/mantisbt/jpgraph/');)
|
|
|
4c79b5 |
|
|
|
4c79b5 |
$g_use_jpgraph = OFF;
|
|
|
4c79b5 |
$g_jpgraph_path = '.' . DIRECTORY_SEPARATOR . 'jpgraph' . DIRECTORY_SEPARATOR; # dont forget the ending slash!
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# use antialiasing - Enabling anti-aliasing will greatly improve the visual apperance of certain graphs.
|
|
|
4c79b5 |
# Note: Using anti-aliasing makes line drawing roughly 8 time slower than normal lines
|
|
|
4c79b5 |
$g_jpgraph_antialias = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# what truetype font will the graphs use. Allowed values are 'arial', 'verdana', 'courier', 'book', 'comic', 'times',
|
|
|
4c79b5 |
# 'georgia', 'trebuche', 'vera', 'veramono', or 'veraserif'. Refer to the jpgraph manual for details.
|
|
|
4c79b5 |
# NOTE: these fonts need to be installed in the TTF_DIR as specified to jpgraph
|
|
|
4c79b5 |
$g_graph_font = '';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# what width is used to scale the graphs.
|
|
|
4c79b5 |
$g_graph_window_width = 800;
|
|
|
4c79b5 |
# bar graph aspect ration (height / width)
|
|
|
4c79b5 |
$g_graph_bar_aspect = 0.9;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# how many graphs to put in each row in the advanced summary page
|
|
|
4c79b5 |
$g_graph_summary_graphs_per_row = 2;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# initial graph type selected on bug_graph_page (see that page for possible values)
|
|
|
4c79b5 |
# 0 asks user to select
|
|
|
4c79b5 |
$g_default_graph_type = 0;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# graph colours, once the list is exhausted it will repeat
|
|
|
4c79b5 |
$g_graph_colors = array('coral', 'red', 'blue', 'black', 'green', 'orange', 'pink', 'brown', 'gray',
|
|
|
4c79b5 |
'blueviolet','chartreuse','magenta','purple3','teal','tan','olivedrab','magenta');
|
|
|
4c79b5 |
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
# Mantis Time Settings
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# time for 'permanent' cookie to live in seconds (1 year)
|
|
|
4c79b5 |
$g_cookie_time_length = 30000000;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# minutes to wait before document is stale (in minutes)
|
|
|
4c79b5 |
$g_content_expire = 0;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# The time (in seconds) to allow for page execution during long processes
|
|
|
4c79b5 |
# such as upgrading your database.
|
|
|
4c79b5 |
# The default value of 0 indicates that the page should be allowed to
|
|
|
4c79b5 |
# execute until it is finished.
|
|
|
4c79b5 |
$g_long_process_timeout = 0;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
# Mantis Date Settings
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- date format settings --------
|
|
|
4c79b5 |
# date format strings defaults to ISO 8601 formatting
|
|
|
4c79b5 |
# go to http://www.php.net/manual/en/function.date.php
|
|
|
4c79b5 |
# for detailed instructions on date formatting
|
|
|
4c79b5 |
$g_short_date_format = 'Y-m-d';
|
|
|
4c79b5 |
$g_normal_date_format = 'Y-m-d H:i';
|
|
|
4c79b5 |
$g_complete_date_format = 'Y-m-d H:i T';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
# Mantis News Settings
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- Limit News Items ------------
|
|
|
4c79b5 |
# limit by entry count or date
|
|
|
4c79b5 |
# BY_LIMIT - entry limit
|
|
|
4c79b5 |
# BY_DATE - by date
|
|
|
4c79b5 |
$g_news_limit_method = BY_LIMIT;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# limit by last X entries
|
|
|
4c79b5 |
$g_news_view_limit = 7;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# limit by days
|
|
|
4c79b5 |
$g_news_view_limit_days = 30;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# threshold for viewing private news
|
|
|
4c79b5 |
$g_private_news_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
##################################
|
|
|
4c79b5 |
# Mantis Default Preferences
|
|
|
4c79b5 |
##################################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- signup default ---------------
|
|
|
4c79b5 |
# look in constant_inc.php for values
|
|
|
4c79b5 |
$g_default_new_account_access_level = REPORTER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Default Bug View Status (VS_PUBLIC or VS_PRIVATE)
|
|
|
4c79b5 |
$g_default_bug_view_status = VS_PUBLIC;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Default value for steps to reproduce field.
|
|
|
4c79b5 |
$g_default_bug_steps_to_reproduce = '';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Default value for addition information field.
|
|
|
4c79b5 |
$g_default_bug_additional_info = '';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Default Bugnote View Status (VS_PUBLIC or VS_PRIVATE)
|
|
|
4c79b5 |
$g_default_bugnote_view_status = VS_PUBLIC;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Default bug severity when reporting a new bug
|
|
|
4c79b5 |
$g_default_bug_severity = MINOR;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Default bug priority when reporting a new bug
|
|
|
4c79b5 |
$g_default_bug_priority = NORMAL;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Default bug reproducibility when reporting a new bug
|
|
|
4c79b5 |
$g_default_bug_reproducibility = REPRODUCIBILITY_HAVENOTTRIED;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Default bug category when reporting a new bug
|
|
|
4c79b5 |
$g_default_bug_category = '';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- viewing defaults ------------
|
|
|
4c79b5 |
# site defaults for viewing preferences
|
|
|
4c79b5 |
$g_default_limit_view = 50;
|
|
|
4c79b5 |
$g_default_show_changed = 6;
|
|
|
4c79b5 |
$g_hide_status_default = CLOSED;
|
|
|
4c79b5 |
$g_show_sticky_issues = 'on';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# make sure people aren't refreshing too often
|
|
|
4c79b5 |
$g_min_refresh_delay = 10; # in minutes
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- account pref defaults -------
|
|
|
4c79b5 |
$g_default_advanced_report = OFF;
|
|
|
4c79b5 |
$g_default_advanced_view = OFF;
|
|
|
4c79b5 |
$g_default_advanced_update = OFF;
|
|
|
4c79b5 |
$g_default_refresh_delay = 30; # in minutes
|
|
|
4c79b5 |
$g_default_redirect_delay = 2; # in seconds
|
|
|
4c79b5 |
$g_default_bugnote_order = 'ASC';
|
|
|
4c79b5 |
$g_default_email_on_new = ON;
|
|
|
4c79b5 |
$g_default_email_on_assigned = ON;
|
|
|
4c79b5 |
$g_default_email_on_feedback = ON;
|
|
|
4c79b5 |
$g_default_email_on_resolved = ON;
|
|
|
4c79b5 |
$g_default_email_on_closed = ON;
|
|
|
4c79b5 |
$g_default_email_on_reopened = ON;
|
|
|
4c79b5 |
$g_default_email_on_bugnote = ON;
|
|
|
4c79b5 |
$g_default_email_on_status = 0; # @@@ Unused
|
|
|
4c79b5 |
$g_default_email_on_priority = 0; # @@@ Unused
|
|
|
4c79b5 |
$g_default_email_on_new_minimum_severity = OFF; # 'any'
|
|
|
4c79b5 |
$g_default_email_on_assigned_minimum_severity = OFF; # 'any'
|
|
|
4c79b5 |
$g_default_email_on_feedback_minimum_severity = OFF; # 'any'
|
|
|
4c79b5 |
$g_default_email_on_resolved_minimum_severity = OFF; # 'any'
|
|
|
4c79b5 |
$g_default_email_on_closed_minimum_severity = OFF; # 'any'
|
|
|
4c79b5 |
$g_default_email_on_reopened_minimum_severity = OFF; # 'any'
|
|
|
4c79b5 |
$g_default_email_on_bugnote_minimum_severity = OFF; # 'any'
|
|
|
4c79b5 |
$g_default_email_on_status_minimum_severity = OFF; # 'any'
|
|
|
4c79b5 |
$g_default_email_on_priority_minimum_severity = OFF; # @@@ Unused
|
|
|
4c79b5 |
$g_default_email_bugnote_limit = 0;
|
|
|
4c79b5 |
# default_language - is set to site language
|
|
|
4c79b5 |
|
|
|
4c79b5 |
###############################
|
|
|
4c79b5 |
# Mantis Summary Settings
|
|
|
4c79b5 |
###############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# how many reporters to show
|
|
|
4c79b5 |
# this is useful when there are hundreds of reporters
|
|
|
4c79b5 |
$g_reporter_summary_limit = 10;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- summary date displays -------
|
|
|
4c79b5 |
# date lengths to count bugs by (in days)
|
|
|
4c79b5 |
$g_date_partitions = array( 1, 2, 3, 7, 30, 60, 90, 180, 365);
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# shows project '[project] category' when 'All Projects' is selected
|
|
|
4c79b5 |
# otherwise only 'category name'
|
|
|
4c79b5 |
$g_summary_category_include_project = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# threshold for viewing summary
|
|
|
4c79b5 |
$g_view_summary_threshold = MANAGER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
###############################
|
|
|
4c79b5 |
# Mantis Bugnote Settings
|
|
|
4c79b5 |
###############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- bugnote ordering ------------
|
|
|
4c79b5 |
# change to ASC or DESC
|
|
|
4c79b5 |
$g_bugnote_order = 'DESC';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
################################
|
|
|
4c79b5 |
# Mantis Bug History Settings
|
|
|
4c79b5 |
################################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- bug history visible by default when you view a bug ----
|
|
|
4c79b5 |
# change to ON or OFF
|
|
|
4c79b5 |
$g_history_default_visible = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- bug history ordering ----
|
|
|
4c79b5 |
# change to ASC or DESC
|
|
|
4c79b5 |
$g_history_order = 'ASC';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
###############################
|
|
|
4c79b5 |
# Mantis Reminder Settings
|
|
|
4c79b5 |
###############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# are reminders stored as bugnotes
|
|
|
4c79b5 |
$g_store_reminders = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Automatically add recipients of reminders to monitor list, if they are not
|
|
|
4c79b5 |
# the handler or the reporter (since they automatically get notified, if required)
|
|
|
4c79b5 |
# If recipients of the reminders are below the monitor threshold, they will not be added.
|
|
|
4c79b5 |
$g_reminder_recipents_monitor_bug = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Default Reminder View Status (VS_PUBLIC or VS_PRIVATE)
|
|
|
4c79b5 |
$g_default_reminder_view_status = VS_PUBLIC;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
###################################
|
|
|
4c79b5 |
# Mantis Sponsorship Settings
|
|
|
4c79b5 |
###################################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Whether to enable/disable the whole issue sponsorship feature
|
|
|
4c79b5 |
$g_enable_sponsorship = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Currency used for all sponsorships.
|
|
|
4c79b5 |
$g_sponsorship_currency = 'US$';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Access level threshold needed to view the total sponsorship for an issue by all users.
|
|
|
4c79b5 |
$g_view_sponsorship_total_threshold = VIEWER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Access level threshold needed to view the users sponsoring an issue and the sponsorship
|
|
|
4c79b5 |
# amount for each.
|
|
|
4c79b5 |
$g_view_sponsorship_details_threshold = VIEWER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Access level threshold needed to allow user to sponsor issues.
|
|
|
4c79b5 |
$g_sponsor_threshold = REPORTER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Access level required to be able to handle sponsored issues.
|
|
|
4c79b5 |
$g_handle_sponsored_bugs_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Access level required to be able to assign a sponsored issue to a user with access level
|
|
|
4c79b5 |
# greater or equal to 'handle_sponsored_bugs_threshold'.
|
|
|
4c79b5 |
$g_assign_sponsored_bugs_threshold = MANAGER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Minimum sponsorship amount. If the user enters a value less than this, an error will be prompted.
|
|
|
4c79b5 |
$g_minimum_sponsorship_amount = 5;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
###################################
|
|
|
4c79b5 |
# Mantis File Upload Settings
|
|
|
4c79b5 |
###################################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- file upload settings --------
|
|
|
4c79b5 |
# This is the master setting to disable *all* file uploading functionality
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# If you want to allow file uploads, you must also make sure that they are
|
|
|
4c79b5 |
# enabled in php. You may need to add 'file_uploads = TRUE' to your php.ini
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# See also: $g_upload_project_file_threshold, $g_upload_bug_file_threshold,
|
|
|
4c79b5 |
# $g_allow_reporter_upload
|
|
|
4c79b5 |
$g_allow_file_upload = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Upload destination: specify actual location in project settings
|
|
|
4c79b5 |
# DISK, DATABASE, or FTP.
|
|
|
4c79b5 |
$g_file_upload_method = DATABASE;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# When using FTP or DISK for storing uploaded files, this setting control
|
|
|
4c79b5 |
# the access permissions they will have on the web server: with the default
|
|
|
4c79b5 |
# value (0400) files will be read-only, and accessible only by the user
|
|
|
4c79b5 |
# running the apache process (probably "apache" in Linux and "Administrator"
|
|
|
4c79b5 |
# in Windows).
|
|
|
4c79b5 |
# For more details on unix style permissions:
|
|
|
4c79b5 |
# http://www.perlfect.com/articles/chmod.shtml
|
|
|
4c79b5 |
$g_attachments_file_permissions = 0400;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# FTP settings, used if $g_file_upload_method = FTP
|
|
|
4c79b5 |
$g_file_upload_ftp_server = 'ftp.myserver.com';
|
|
|
4c79b5 |
$g_file_upload_ftp_user = 'readwriteuser';
|
|
|
4c79b5 |
$g_file_upload_ftp_pass = 'readwritepass';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Maximum file size that can be uploaded
|
|
|
4c79b5 |
# Also check your PHP settings (default is usually 2MBs)
|
|
|
4c79b5 |
$g_max_file_size = 5000000; # 5 MB
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Files that are allowed or not allowed. Separate items by commas.
|
|
|
4c79b5 |
# eg. 'php,html,java,exe,pl'
|
|
|
4c79b5 |
# if $g_allowed_files is filled in NO other file types will be allowed.
|
|
|
4c79b5 |
# $g_disallowed_files takes precedence over $g_allowed_files
|
|
|
4c79b5 |
$g_allowed_files = '';
|
|
|
4c79b5 |
$g_disallowed_files = '';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# prefix to be used for the file system names of files uploaded to projects.
|
|
|
4c79b5 |
# Eg: doc-001-myprojdoc.zip
|
|
|
4c79b5 |
$g_document_files_prefix = 'doc';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# absolute path to the default upload folder. Requires trailing / or \
|
|
|
4c79b5 |
$g_absolute_path_default_upload_folder = '';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
# Mantis HTML Settings
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- html tags -------------------
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Set this flag to automatically convert www URLs and
|
|
|
4c79b5 |
# email adresses into clickable links
|
|
|
4c79b5 |
$g_html_make_links = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# These are the valid html tags for multi-line fields (e.g. description)
|
|
|
4c79b5 |
# do NOT include href or img tags here
|
|
|
4c79b5 |
# do NOT include tags that have parameters (eg. <font face="arial">)
|
|
|
4c79b5 |
$g_html_valid_tags = 'p, li, ul, ol, br, pre, i, b, u, em';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# These are the valid html tags for single line fields (e.g. issue summary).
|
|
|
4c79b5 |
# do NOT include href or img tags here
|
|
|
4c79b5 |
# do NOT include tags that have parameters (eg. <font face="arial">)
|
|
|
4c79b5 |
$g_html_valid_tags_single_line = 'i, b, u, em';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# maximum length of the description in a dropdown menu (for search)
|
|
|
4c79b5 |
# set to 0 to disable truncations
|
|
|
4c79b5 |
$g_max_dropdown_length = 40;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# This flag conntrolls whether pre-formatted text (delimited by tags
|
|
|
4c79b5 |
# is wrapped to a maximum linelength (defaults to 100 chars in strings_api)
|
|
|
4c79b5 |
# If turned off, the display may be wide when viewing the text
|
|
|
4c79b5 |
$g_wrap_in_preformatted_text = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
##########################
|
|
|
4c79b5 |
# Mantis HR Settings
|
|
|
4c79b5 |
##########################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- hr --------------------------
|
|
|
4c79b5 |
$g_hr_size = 1;
|
|
|
4c79b5 |
$g_hr_width = 50;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
# Mantis LDAP Settings
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# look in README.LDAP for details
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- using openldap -------------
|
|
|
4c79b5 |
$g_ldap_server = 'ldaps://ldap.example.com.au/';
|
|
|
4c79b5 |
$g_ldap_port = '636';
|
|
|
4c79b5 |
$g_ldap_root_dn = 'dc=example,dc=com,dc=au';
|
|
|
4c79b5 |
$g_ldap_organization = ''; # e.g. '(organizationname=*Traffic)'
|
|
|
4c79b5 |
$g_ldap_uid_field = 'uid'; # Use 'sAMAccountName' for Active Directory
|
|
|
4c79b5 |
$g_ldap_bind_dn = '';
|
|
|
4c79b5 |
$g_ldap_bind_passwd = '';
|
|
|
4c79b5 |
$g_use_ldap_email = OFF; # Should we send to the LDAP email address or what MySql tells us
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# The LDAP Protocol Version, if 0, then the protocol version is not set.
|
|
|
4c79b5 |
$g_ldap_protocol_version = 0;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
# Status Settings
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Status to assign to the bug when submitted.
|
|
|
4c79b5 |
$g_bug_submit_status = NEW_;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Status to assign to the bug when assigned.
|
|
|
4c79b5 |
$g_bug_assigned_status = ASSIGNED;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Status to assign to the bug when reopened.
|
|
|
4c79b5 |
$g_bug_reopen_status = FEEDBACK;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Resolution to assign to the bug when reopened.
|
|
|
4c79b5 |
$g_bug_reopen_resolution = REOPENED;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- status thresholds (*_status_threshold) ---
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Bug becomes readonly if its status is >= this status. The bug becomes read/write again if re-opened and its
|
|
|
4c79b5 |
# status becomes less than this threshold.
|
|
|
4c79b5 |
$g_bug_readonly_status_threshold = RESOLVED;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Bug is resolved, ready to be closed or reopened. In some custom installations a bug
|
|
|
4c79b5 |
# maybe considered as resolved when it is moved to a custom (FIXED OR TESTED) status.
|
|
|
4c79b5 |
$g_bug_resolved_status_threshold = RESOLVED;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Automatically set status to ASSIGNED whenever a bug is assigned to a person.
|
|
|
4c79b5 |
# This is useful for installations where assigned status is to be used when
|
|
|
4c79b5 |
# the bug is in progress, rather than just put in a person's queue.
|
|
|
4c79b5 |
$g_auto_set_status_to_assigned = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# 'status_enum_workflow' defines the workflow, and reflects a simple
|
|
|
4c79b5 |
# 2-dimensional matrix. For each existing status, you define which
|
|
|
4c79b5 |
# statuses you can go to from that status, e.g. from NEW_ you might list statuses
|
|
|
4c79b5 |
# '10:new,20:feedback,30:acknowledged' but not higher ones.
|
|
|
4c79b5 |
# The following example can be transferred to config_inc.php
|
|
|
4c79b5 |
# $g_status_enum_workflow[NEW_]='20:feedback,30:acknowledged,40:confirmed,50:assigned,80:resolved';
|
|
|
4c79b5 |
# $g_status_enum_workflow[FEEDBACK] ='10:new,30:acknowledged,40:confirmed,50:assigned,80:resolved';
|
|
|
4c79b5 |
# $g_status_enum_workflow[ACKNOWLEDGED] ='20:feedback,40:confirmed,50:assigned,80:resolved';
|
|
|
4c79b5 |
# $g_status_enum_workflow[CONFIRMED] ='20:feedback,50:assigned,80:resolved';
|
|
|
4c79b5 |
# $g_status_enum_workflow[ASSIGNED] ='20:feedback,80:resolved,90:closed';
|
|
|
4c79b5 |
# $g_status_enum_workflow[RESOLVED] ='50:assigned,90:closed';
|
|
|
4c79b5 |
# $g_status_enum_workflow[CLOSED] ='50:assigned';
|
|
|
4c79b5 |
$g_status_enum_workflow = array();
|
|
|
4c79b5 |
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
# Bug Attachments Settings
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Specifies the maximum size below which an attachment is previewed in the bug
|
|
|
4c79b5 |
# view pages. To disable this feature, set max size to 0.
|
|
|
4c79b5 |
# This feature applies to: bmp, png, gif, jpg
|
|
|
4c79b5 |
$g_preview_attachments_inline_max_size = 0;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Extenstions for text files that can be expanded inline.
|
|
|
4c79b5 |
$g_preview_text_extensions = array( 'txt', 'diff', 'patch' );
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Extensions for images that can be expanded inline.
|
|
|
4c79b5 |
$g_preview_image_extensions = array( 'bmp', 'png', 'gif', 'jpg', 'jpeg' );
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Specifies the maximum width for the auto-preview feature. If no maximum width should be imposed
|
|
|
4c79b5 |
# then it should be set to 0.
|
|
|
4c79b5 |
$g_preview_max_width = 0;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Specifies the maximum height for the auto-preview feature. If no maximum height should be imposed
|
|
|
4c79b5 |
# then it should be set to 0.
|
|
|
4c79b5 |
$g_preview_max_height = 250;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- Show an attachment indicator on bug list ---
|
|
|
4c79b5 |
# Show a clickable attachment indicator on the bug
|
|
|
4c79b5 |
# list page if the bug has one or more files attached.
|
|
|
4c79b5 |
# Note: This option is disabled by default since it adds
|
|
|
4c79b5 |
# 1 database query per bug listed and thus might slow
|
|
|
4c79b5 |
# down the page display.
|
|
|
4c79b5 |
$g_show_attachment_indicator = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to view bugs attachments. View means to see the file names
|
|
|
4c79b5 |
# sizes, and timestamps of the attachments.
|
|
|
4c79b5 |
$g_view_attachments_threshold = VIEWER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# list of filetypes to view inline. This is a string of extentions separated by commas
|
|
|
4c79b5 |
# This is used when downloading an attachment. Rather than downloading, the attachment
|
|
|
4c79b5 |
# is viewed in the browser.
|
|
|
4c79b5 |
$g_inline_file_exts = 'gif,png';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to download bug attachments
|
|
|
4c79b5 |
$g_download_attachments_threshold = VIEWER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to delete bug attachments
|
|
|
4c79b5 |
$g_delete_attachments_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# allow users to view attachments uploaded by themselves even if their access
|
|
|
4c79b5 |
# level is below view_attachments_threshold.
|
|
|
4c79b5 |
$g_allow_view_own_attachments = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# allow users to download attachments uploaded by themselves even if their access
|
|
|
4c79b5 |
# level is below download_attachments_threshold.
|
|
|
4c79b5 |
$g_allow_download_own_attachments = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# allow users to delete attachments uploaded by themselves even if their access
|
|
|
4c79b5 |
# level is below delete_attachments_threshold.
|
|
|
4c79b5 |
$g_allow_delete_own_attachments = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
# Mantis Misc Settings
|
|
|
4c79b5 |
############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- access level thresholds (*_threshold) ---
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to report a bug
|
|
|
4c79b5 |
$g_report_bug_threshold = REPORTER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to update bugs (i.e., the update_bug_page)
|
|
|
4c79b5 |
# This controls whether the user sees the "Update Bug" button in bug_view*_page
|
|
|
4c79b5 |
# and the pencil icon in view_all_bug_page
|
|
|
4c79b5 |
$g_update_bug_threshold = UPDATER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to monitor bugs
|
|
|
4c79b5 |
# Look in the constant_inc.php file if you want to set a different value
|
|
|
4c79b5 |
$g_monitor_bug_threshold = REPORTER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to view private bugs
|
|
|
4c79b5 |
# Look in the constant_inc.php file if you want to set a different value
|
|
|
4c79b5 |
$g_private_bug_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to be able to be listed in the assign to field.
|
|
|
4c79b5 |
$g_handle_bug_threshold = DEVELOPER;
|
|
|
4c79b5 |
# access level needed to show the Assign To: button bug_view*_page or
|
|
|
4c79b5 |
# the Assigned list in bug_update*_page.
|
|
|
4c79b5 |
# This allows control over who can route bugs
|
|
|
4c79b5 |
# This defaults to $g_handle_bug_threshold
|
|
|
4c79b5 |
$g_update_bug_assign_threshold = '%handle_bug_threshold%';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to view private bugnotes
|
|
|
4c79b5 |
# Look in the constant_inc.php file if you want to set a different value
|
|
|
4c79b5 |
$g_private_bugnote_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to view handler in bug reports and notification email
|
|
|
4c79b5 |
# @@@ yarick123: now it is implemented for notification email only
|
|
|
4c79b5 |
$g_view_handler_threshold = VIEWER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to view history in bug reports and notification email
|
|
|
4c79b5 |
# @@@ yarick123: now it is implemented for notification email only
|
|
|
4c79b5 |
$g_view_history_threshold = VIEWER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to send a reminder from the bug view pages
|
|
|
4c79b5 |
# set to NOBODY to disable the feature
|
|
|
4c79b5 |
$g_bug_reminder_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to upload files to the project documentation section
|
|
|
4c79b5 |
# You can set this to NOBODY to prevent uploads to projects
|
|
|
4c79b5 |
# See also: $g_upload_bug_file_threshold, $g_allow_file_upload
|
|
|
4c79b5 |
$g_upload_project_file_threshold = MANAGER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to upload files to attach to a bug
|
|
|
4c79b5 |
# You can set this to NOBODY to prevent uploads to bugs but note that
|
|
|
4c79b5 |
# the reporter of the bug will still be able to upload unless you set
|
|
|
4c79b5 |
# $g_allow_reporter_upload or $g_allow_file_upload to OFF
|
|
|
4c79b5 |
# See also: $g_upload_project_file_threshold, $g_allow_file_upload,
|
|
|
4c79b5 |
# $g_allow_reporter_upload
|
|
|
4c79b5 |
$g_upload_bug_file_threshold = REPORTER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Add bugnote threshold
|
|
|
4c79b5 |
$g_add_bugnote_threshold = REPORTER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Update bugnote threshold (if the bugnote is not your own)
|
|
|
4c79b5 |
$g_update_bugnote_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to view project documentation
|
|
|
4c79b5 |
$g_view_proj_doc_threshold = ANYBODY;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to manage a project: edit project
|
|
|
4c79b5 |
# details (not to add/delete projects), upload documentation, ...etc.
|
|
|
4c79b5 |
$g_manage_project_threshold = MANAGER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to add/delete/modify news
|
|
|
4c79b5 |
$g_manage_news_threshold = MANAGER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold required to delete a project
|
|
|
4c79b5 |
$g_delete_project_threshold = ADMINISTRATOR;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to create a new project
|
|
|
4c79b5 |
$g_create_project_threshold = ADMINISTRATOR;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to be automatically included in private projects
|
|
|
4c79b5 |
$g_private_project_threshold = ADMINISTRATOR;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to manage user access to a project
|
|
|
4c79b5 |
$g_project_user_threshold = MANAGER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to manage user accounts
|
|
|
4c79b5 |
$g_manage_user_threshold = ADMINISTRATOR;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Delete bug threshold
|
|
|
4c79b5 |
$g_delete_bug_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Delete bugnote threshold
|
|
|
4c79b5 |
$g_delete_bugnote_threshold = '%delete_bug_threshold%';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Are users allowed to change and delete their own bugnotes?
|
|
|
4c79b5 |
$g_bugnote_allow_user_edit_delete = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Move bug threshold
|
|
|
4c79b5 |
$g_move_bug_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to set the view status while reporting a bug or a bug note.
|
|
|
4c79b5 |
$g_set_view_status_threshold = REPORTER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to update the view status while updating a bug or a bug note.
|
|
|
4c79b5 |
# This threshold should be greater or equal to $g_set_view_status_threshold.
|
|
|
4c79b5 |
$g_change_view_status_threshold = UPDATER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- Threshold needed to show the list of users montoring a bug on the bug view pages.
|
|
|
4c79b5 |
$g_show_monitor_list_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to be able to use stored queries
|
|
|
4c79b5 |
$g_stored_query_use_threshold = REPORTER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to be able to create stored queries
|
|
|
4c79b5 |
$g_stored_query_create_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to be able to create shared stored queries
|
|
|
4c79b5 |
$g_stored_query_create_shared_threshold = MANAGER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to update readonly bugs. Readonly bugs are identified via
|
|
|
4c79b5 |
# $g_bug_readonly_status_threshold.
|
|
|
4c79b5 |
$g_update_readonly_bug_threshold = MANAGER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# threshold for viewing changelog
|
|
|
4c79b5 |
$g_view_changelog_threshold = VIEWER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# threshold for viewing roadmap
|
|
|
4c79b5 |
$g_roadmap_view_threshold = VIEWER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# threshold for updating roadmap, target_version, etc
|
|
|
4c79b5 |
$g_roadmap_update_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# status change thresholds
|
|
|
4c79b5 |
$g_update_bug_status_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to re-open bugs
|
|
|
4c79b5 |
$g_reopen_bug_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level needed to set a bug sticky
|
|
|
4c79b5 |
$g_set_bug_sticky_threshold = MANAGER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# The minimum access level for someone to be a member of the development team
|
|
|
4c79b5 |
# and appear on the project information page.
|
|
|
4c79b5 |
$g_development_team_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# this array sets the access thresholds needed to enter each status listed.
|
|
|
4c79b5 |
# if a status is not listed, it falls back to $g_update_bug_status_threshold
|
|
|
4c79b5 |
# example: $g_set_status_threshold = array( ACKNOWLEDGED => MANAGER, CONFIRMED => DEVELOPER, CLOSED => MANAGER );
|
|
|
4c79b5 |
$g_set_status_threshold = array();
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- login method ----------------
|
|
|
4c79b5 |
# CRYPT or PLAIN or MD5 or LDAP or BASIC_AUTH
|
|
|
4c79b5 |
# You can simply change this at will. Mantis will try to figure out how the passwords were encrypted.
|
|
|
4c79b5 |
$g_login_method = MD5;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- limit reporters -------------
|
|
|
4c79b5 |
# Set to ON if you wish to limit reporters to only viewing bugs that they report.
|
|
|
4c79b5 |
$g_limit_reporters = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- close immediately -----------
|
|
|
4c79b5 |
# Allow developers and above to close bugs immediately when resolving bugs
|
|
|
4c79b5 |
$g_allow_close_immediately = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- reporter can close ----------
|
|
|
4c79b5 |
# Allow reporters to close the bugs they reported, after they're marked resolved.
|
|
|
4c79b5 |
$g_allow_reporter_close = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- reporter can reopen ---------
|
|
|
4c79b5 |
# Allow reporters to reopen the bugs they reported, after they're marked resolved.
|
|
|
4c79b5 |
$g_allow_reporter_reopen = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- reporter can upload ---------
|
|
|
4c79b5 |
# Allow reporters to upload attachments to bugs they reported.
|
|
|
4c79b5 |
$g_allow_reporter_upload = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- account delete -----------
|
|
|
4c79b5 |
# Allow users to delete their own accounts
|
|
|
4c79b5 |
$g_allow_account_delete = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- anonymous login -----------
|
|
|
4c79b5 |
# Allow anonymous login
|
|
|
4c79b5 |
$g_allow_anonymous_login = OFF;
|
|
|
4c79b5 |
$g_anonymous_account = '';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- CVS linking ---------------
|
|
|
4c79b5 |
# insert the URL to your CVSweb or ViewCVS
|
|
|
4c79b5 |
# eg: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/mantisbt/mantisbt/
|
|
|
4c79b5 |
$g_cvs_web = '';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- Source Control Integration ------
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# For open source projects it is expected that the notes be public, however,
|
|
|
4c79b5 |
# for non-open source it will probably be VS_PRIVATE.
|
|
|
4c79b5 |
$g_source_control_notes_view_status = VS_PRIVATE;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Account to be used by the source control script. The account must be enabled
|
|
|
4c79b5 |
# and must have the appropriate access level to add notes to all issues even
|
|
|
4c79b5 |
# private ones (DEVELOPER access recommended).
|
|
|
4c79b5 |
$g_source_control_account = '';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# If set to a status, then after a checkin with a log message that matches the regular expression in
|
|
|
4c79b5 |
# $g_source_control_fixed_regexp, the issue status is set to the specified status. If set to OFF, the
|
|
|
4c79b5 |
# issue status is not changed.
|
|
|
4c79b5 |
$g_source_control_set_status_to = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Whenever an issue status is set to $g_source_control_set_status_to, the issue resolution is set to
|
|
|
4c79b5 |
# the value specified for this configuration.
|
|
|
4c79b5 |
$g_source_control_set_resolution_to = FIXED;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Regular expression used to detect issue ids within checkin comments.
|
|
|
4c79b5 |
# see preg_match_all() documentation at
|
|
|
4c79b5 |
# http://www.php.net/manual/en/function.preg-match-all.php
|
|
|
4c79b5 |
$g_source_control_regexp = "/\bissue [#]{0,1}(\d+)\b/i";
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Regular expression used to detect the fact that an issue is fixed and extracts
|
|
|
4c79b5 |
# its issue id. If there is a match to this regular expression, then the issue
|
|
|
4c79b5 |
# will be marked as resolved and the resolution will be set to fixed.
|
|
|
4c79b5 |
$g_source_control_fixed_regexp = "%source_control_regexp%";
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- Bug Linking ---------------
|
|
|
4c79b5 |
# if a number follows this tag it will create a link to a bug.
|
|
|
4c79b5 |
# eg. for # a link would be #45
|
|
|
4c79b5 |
# eg. for bug: a link would be bug:98
|
|
|
4c79b5 |
$g_bug_link_tag = '#';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- Bugnote Linking ---------------
|
|
|
4c79b5 |
# if a number follows this tag it will create a link to a bugnote.
|
|
|
4c79b5 |
# eg. for ~ a link would be ~45
|
|
|
4c79b5 |
# eg. for bugnote: a link would be bugnote:98
|
|
|
4c79b5 |
$g_bugnote_link_tag = '~';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- Bug Count Linking ----------
|
|
|
4c79b5 |
# this is the prefix to use when creating links to bug views from bug counts (eg. on the main
|
|
|
4c79b5 |
# page and the summary page).
|
|
|
4c79b5 |
# $g_bug_count_hyperlink_prefix = 'view_all_set.php?type=1'; # permanently change the filter
|
|
|
4c79b5 |
$g_bug_count_hyperlink_prefix = 'view_all_set.php?type=1&temporary=y'; # only change the filter this time
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# The regular expression to use when validating new user login names
|
|
|
4c79b5 |
# The default regular expression allows a-z, A-z, 0-9, as well as space and
|
|
|
4c79b5 |
# underscore. If you change this, you may want to update the
|
|
|
4c79b5 |
# ERROR_USER_NAME_INVALID string in the language files to explain
|
|
|
4c79b5 |
# the rules you are using on your site
|
|
|
4c79b5 |
$g_user_login_valid_regex = '/^[\w \-]+$/';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Default user name prefix used to filter the list of users in
|
|
|
4c79b5 |
# manage_user_page.php. Change this to 'A' (or any other
|
|
|
4c79b5 |
# letter) if you have a lot of users in the system and loading
|
|
|
4c79b5 |
# the manage users page takes a long time.
|
|
|
4c79b5 |
$g_default_manage_user_prefix = 'ALL';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- CSV Export ---------------
|
|
|
4c79b5 |
# Set the csv separator
|
|
|
4c79b5 |
$g_csv_separator = ',';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# threshold for users to view the system configurations
|
|
|
4c79b5 |
$g_view_configuration_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# threshold for users to set the system configurations generically via Mantis web interface.
|
|
|
4c79b5 |
# WARNING: Users who have access to set configuration via the interface MUST be trusted. This is due
|
|
|
4c79b5 |
# to the fact that such users can set configurations to PHP code and hence there can be a security
|
|
|
4c79b5 |
# risk if such users are not trusted.
|
|
|
4c79b5 |
$g_set_configuration_threshold = ADMINISTRATOR;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
################################
|
|
|
4c79b5 |
# Mantis Look and Feel Variables
|
|
|
4c79b5 |
################################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- status color codes ----------
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
$g_status_colors = array( 'new' => '#ffa0a0', # red,
|
|
|
4c79b5 |
'feedback' => '#ff50a8', # purple
|
|
|
4c79b5 |
'acknowledged' => '#ffd850', # orange
|
|
|
4c79b5 |
'confirmed' => '#ffffb0', # yellow
|
|
|
4c79b5 |
'assigned' => '#c8c8ff', # blue
|
|
|
4c79b5 |
'resolved' => '#cceedd', # buish-green
|
|
|
4c79b5 |
'closed' => '#e8e8e8'); # light gray
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# The padding level when displaying project ids
|
|
|
4c79b5 |
# The bug id will be padded with 0's up to the size given
|
|
|
4c79b5 |
$g_display_project_padding = 3;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# The padding level when displaying bug ids
|
|
|
4c79b5 |
# The bug id will be padded with 0's up to the size given
|
|
|
4c79b5 |
$g_display_bug_padding = 7;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# The padding level when displaying bugnote ids
|
|
|
4c79b5 |
# The bugnote id will be padded with 0's up to the size given
|
|
|
4c79b5 |
$g_display_bugnote_padding = 7;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# colours for configuration display
|
|
|
4c79b5 |
$g_colour_project = 'LightGreen';
|
|
|
4c79b5 |
$g_colour_global = 'LightBlue';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
###############################
|
|
|
4c79b5 |
# Mantis Cookie Variables
|
|
|
4c79b5 |
###############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- cookie path ---------------
|
|
|
4c79b5 |
# set this to something more restrictive if needed
|
|
|
4c79b5 |
# http://www.php.net/manual/en/function.setcookie.php
|
|
|
4c79b5 |
$g_cookie_path = '/';
|
|
|
4c79b5 |
$g_cookie_domain = '';
|
|
|
4c79b5 |
# cookie version for view_all_page
|
|
|
4c79b5 |
$g_cookie_version = 'v8';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- cookie prefix ---------------
|
|
|
4c79b5 |
# set this to a unique identifier. No spaces.
|
|
|
4c79b5 |
$g_cookie_prefix = 'MANTIS';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- cookie names ----------------
|
|
|
4c79b5 |
$g_string_cookie = '%cookie_prefix%_STRING_COOKIE';
|
|
|
4c79b5 |
$g_project_cookie = '%cookie_prefix%_PROJECT_COOKIE';
|
|
|
4c79b5 |
$g_view_all_cookie = '%cookie_prefix%_VIEW_ALL_COOKIE';
|
|
|
4c79b5 |
$g_manage_cookie = '%cookie_prefix%_MANAGE_COOKIE';
|
|
|
4c79b5 |
$g_logout_cookie = '%cookie_prefix%_LOGOUT_COOKIE';
|
|
|
4c79b5 |
$g_bug_list_cookie = '%cookie_prefix%_BUG_LIST_COOKIE';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#######################################
|
|
|
4c79b5 |
# Mantis Filter Variables
|
|
|
4c79b5 |
#######################################
|
|
|
4c79b5 |
$g_filter_by_custom_fields = ON;
|
|
|
4c79b5 |
$g_filter_custom_fields_per_row = 8;
|
|
|
4c79b5 |
$g_view_filters = SIMPLE_DEFAULT;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# This switch enables the use of xmlhttprequest protocol to speed up the filter display.
|
|
|
4c79b5 |
# Rather than launching a separate page, the filters are updated in-line in the
|
|
|
4c79b5 |
# view_all_bugs_page.
|
|
|
4c79b5 |
$g_dhtml_filters = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# The service to use to create a short URL. The %s will be replaced by the long URL.
|
|
|
4c79b5 |
$g_create_short_url = 'http://tinyurl.com/create.php?url=%s';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#######################################
|
|
|
4c79b5 |
# Mantis Database Table Variables
|
|
|
4c79b5 |
#######################################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- table prefix ----------------
|
|
|
4c79b5 |
$g_db_table_prefix = 'mantis';
|
|
|
4c79b5 |
$g_db_table_suffix = '_table';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- table names -----------------
|
|
|
4c79b5 |
$g_mantis_bug_file_table = '%db_table_prefix%_bug_file%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_bug_history_table = '%db_table_prefix%_bug_history%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_bug_monitor_table = '%db_table_prefix%_bug_monitor%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_bug_relationship_table = '%db_table_prefix%_bug_relationship%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_bug_table = '%db_table_prefix%_bug%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_bug_tag_table = '%db_table_prefix%_bug_tag%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_bug_text_table = '%db_table_prefix%_bug_text%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_bugnote_table = '%db_table_prefix%_bugnote%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_bugnote_text_table = '%db_table_prefix%_bugnote_text%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_news_table = '%db_table_prefix%_news%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_project_category_table = '%db_table_prefix%_project_category%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_project_file_table = '%db_table_prefix%_project_file%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_project_table = '%db_table_prefix%_project%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_project_user_list_table = '%db_table_prefix%_project_user_list%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_project_version_table = '%db_table_prefix%_project_version%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_tag_table = '%db_table_prefix%_tag%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_user_table = '%db_table_prefix%_user%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_user_profile_table = '%db_table_prefix%_user_profile%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_user_pref_table = '%db_table_prefix%_user_pref%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_user_print_pref_table = '%db_table_prefix%_user_print_pref%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_custom_field_project_table = '%db_table_prefix%_custom_field_project%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_custom_field_table = '%db_table_prefix%_custom_field%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_custom_field_string_table = '%db_table_prefix%_custom_field_string%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_upgrade_table = '%db_table_prefix%_upgrade%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_filters_table = '%db_table_prefix%_filters%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_sponsorship_table = '%db_table_prefix%_sponsorship%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_tokens_table = '%db_table_prefix%_tokens%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_project_hierarchy_table = '%db_table_prefix%_project_hierarchy%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_config_table = '%db_table_prefix%_config%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_database_table = '%db_table_prefix%_database%db_table_suffix%';
|
|
|
4c79b5 |
$g_mantis_email_table = '%db_table_prefix%_email%db_table_suffix%';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
###########################
|
|
|
4c79b5 |
# Mantis Enum Strings
|
|
|
4c79b5 |
###########################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- enum strings ----------------
|
|
|
4c79b5 |
# status from $g_status_index-1 to 79 are used for the onboard customization (if enabled)
|
|
|
4c79b5 |
# directly use Mantis to edit them.
|
|
|
4c79b5 |
$g_access_levels_enum_string = '10:viewer,25:reporter,40:updater,55:developer,70:manager,90:administrator';
|
|
|
4c79b5 |
$g_project_status_enum_string = '10:development,30:release,50:stable,70:obsolete';
|
|
|
4c79b5 |
$g_project_view_state_enum_string = '10:public,50:private';
|
|
|
4c79b5 |
$g_view_state_enum_string = '10:public,50:private';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
$g_priority_enum_string = '10:none,20:low,30:normal,40:high,50:urgent,60:immediate';
|
|
|
4c79b5 |
$g_severity_enum_string = '10:feature,20:trivial,30:text,40:tweak,50:minor,60:major,70:crash,80:block';
|
|
|
4c79b5 |
$g_reproducibility_enum_string = '10:always,30:sometimes,50:random,70:have not tried,90:unable to duplicate,100:N/A';
|
|
|
4c79b5 |
$g_status_enum_string = '10:new,20:feedback,30:acknowledged,40:confirmed,50:assigned,80:resolved,90:closed';
|
|
|
4c79b5 |
# @@@ for documentation, the values in this list are also used to define variables in the language files
|
|
|
4c79b5 |
# (e.g., $s_new_bug_title referenced in bug_change_status_page.php )
|
|
|
4c79b5 |
# Embedded spaces are converted to underscores (e.g., "working on" references $s_working_on_bug_title).
|
|
|
4c79b5 |
# they are also expected to be english names for the states
|
|
|
4c79b5 |
$g_resolution_enum_string = '10:open,20:fixed,30:reopened,40:unable to duplicate,50:not fixable,60:duplicate,70:not a bug,80:suspended,90:wont fix';
|
|
|
4c79b5 |
$g_projection_enum_string = '10:none,30:tweak,50:minor fix,70:major rework,90:redesign';
|
|
|
4c79b5 |
$g_eta_enum_string = '10:none,20:< 1 day,30:2-3 days,40:< 1 week,50:< 1 month,60:> 1 month';
|
|
|
4c79b5 |
$g_sponsorship_enum_string = '0:Unpaid,1:Requested,2:Paid';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
$g_custom_field_type_enum_string = '0:string,1:numeric,2:float,3:enum,4:email,5:checkbox,6:list,7:multiselection list,8:date';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
# Mantis Javascript Variables
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# allow the use of Javascript?
|
|
|
4c79b5 |
$g_use_javascript = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
###########################
|
|
|
4c79b5 |
# Mantis Speed Optimisation
|
|
|
4c79b5 |
###########################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Use compression of generated html if browser supports it
|
|
|
4c79b5 |
# If you already have compression enabled in your php.ini file
|
|
|
4c79b5 |
# (either with zlib.output_compression or
|
|
|
4c79b5 |
# output_handler=ob_gzhandler) this option will be ignored.
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# If you do not have zlib enabled in your PHP installation
|
|
|
4c79b5 |
# this option will also be ignored. PHP 4.3.0 and later have
|
|
|
4c79b5 |
# zlib included by default. Windows users should uncomment
|
|
|
4c79b5 |
# the appropriate line in their php.ini files to load
|
|
|
4c79b5 |
# the zlib DLL. You can check what extensions are loaded
|
|
|
4c79b5 |
# by running "php -m" at the command line (look for 'zlib')
|
|
|
4c79b5 |
$g_compress_html = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Use persistent database connections
|
|
|
4c79b5 |
$g_use_persistent_connections = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
###########################
|
|
|
4c79b5 |
# Include files
|
|
|
4c79b5 |
###########################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Specify your top/bottom include file (logos, banners, etc)
|
|
|
4c79b5 |
# if a top file is supplied, the default Mantis logo at the top will be hidden
|
|
|
4c79b5 |
$g_bottom_include_page = '%absolute_path%';
|
|
|
4c79b5 |
$g_top_include_page = '%absolute_path%';
|
|
|
4c79b5 |
# CSS file
|
|
|
4c79b5 |
$g_css_include_file = '%path%css/default.css';
|
|
|
4c79b5 |
# meta tags
|
|
|
4c79b5 |
$g_meta_include_file = '%absolute_path%meta_inc.php';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
###########################
|
|
|
4c79b5 |
# Redirections
|
|
|
4c79b5 |
###########################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Specify where the user should be sent after logging out.
|
|
|
4c79b5 |
$g_logout_redirect_page = '%path%login_page.php';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
###########################
|
|
|
4c79b5 |
# Headers
|
|
|
4c79b5 |
###########################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# An array of headers to be sent with each page.
|
|
|
4c79b5 |
# For example, to allow your mantis installation to be viewed in a frame in IE 6
|
|
|
4c79b5 |
# when the frameset is not at the same hostname as the mantis install, you need
|
|
|
4c79b5 |
# to add a P3P header. You could try something like 'P3P: CP="CUR ADM"' in your
|
|
|
4c79b5 |
# config file, but make sure to check that the your policy actually matches with
|
|
|
4c79b5 |
# what you are promising. See
|
|
|
4c79b5 |
# http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpriv/html/ie6privacyfeature.asp
|
|
|
4c79b5 |
# for more information.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
$g_custom_headers = array();
|
|
|
4c79b5 |
#$g_custom_headers[] = 'P3P: CP="CUR ADM"';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Browser Caching Control
|
|
|
4c79b5 |
# By default, we try to prevent the browser from caching anything. These two settings
|
|
|
4c79b5 |
# will defeat this for some cases.
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# Browser Page caching - This will allow the browser to cache all pages. The upside will
|
|
|
4c79b5 |
# be better performance, but there may be cases where obsolete information is displayed.
|
|
|
4c79b5 |
# Note that this will be bypassed (and caching is allowed) for the bug report pages.
|
|
|
4c79b5 |
# $g_allow_browser_cache = ON;
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# File caching - This will allow the browser to cache downloaded files. Without this set,
|
|
|
4c79b5 |
# there may be issues with IE receiving files, and launching support programs.
|
|
|
4c79b5 |
# $g_allow_file_cache = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
###########################
|
|
|
4c79b5 |
# Debugging
|
|
|
4c79b5 |
###########################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- Timer ----------------------
|
|
|
4c79b5 |
# Time page loads. Shows at the bottom of the page.
|
|
|
4c79b5 |
$g_show_timer = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# used for development only. Leave OFF
|
|
|
4c79b5 |
$g_debug_timer = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Used for debugging e-mail feature, when set to OFF the emails work as normal.
|
|
|
4c79b5 |
# when set to e-mail address, all e-mails are sent to this address with the
|
|
|
4c79b5 |
# original To, Cc, Bcc included in the message body.
|
|
|
4c79b5 |
$g_debug_email = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- Queries --------------------
|
|
|
4c79b5 |
# Shows the total number/unique number of queries executed to serve the page.
|
|
|
4c79b5 |
$g_show_queries_count = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Indicates the access level required for a user to see the queries count / list.
|
|
|
4c79b5 |
# This only has an effect if $g_show_queries_count is ON. Note that this threshold
|
|
|
4c79b5 |
# is compared against the user's default global access level rather than the
|
|
|
4c79b5 |
# threshold based on the current active project.
|
|
|
4c79b5 |
$g_show_queries_threshold = ADMINISTRATOR;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Shows the list of all queries that are executed in chronological order from top
|
|
|
4c79b5 |
# to bottom. This option is only effective when $g_show_queries_count is ON.
|
|
|
4c79b5 |
# WARNING: Potential security hazard. Only turn this on when you really
|
|
|
4c79b5 |
# need it (for debugging/profiling)
|
|
|
4c79b5 |
$g_show_queries_list = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- detailed error messages -----
|
|
|
4c79b5 |
# Shows a list of variables and their values when an error is triggered
|
|
|
4c79b5 |
# Only applies to error types configured to 'halt' in $g_display_errors, below
|
|
|
4c79b5 |
# WARNING: Potential security hazard. Only turn this on when you really
|
|
|
4c79b5 |
# need it for debugging
|
|
|
4c79b5 |
$g_show_detailed_errors = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- error display ---
|
|
|
4c79b5 |
# what errors are displayed and how?
|
|
|
4c79b5 |
# The options for display are:
|
|
|
4c79b5 |
# 'halt' - stop and display traceback
|
|
|
4c79b5 |
# 'inline' - display 1 line error and continue
|
|
|
4c79b5 |
# 'none' - no error displayed
|
|
|
4c79b5 |
# A developer might set this in config_inc.php as:
|
|
|
4c79b5 |
# $g_display_errors = array(
|
|
|
4c79b5 |
# E_WARNING => 'halt',
|
|
|
4c79b5 |
# E_NOTICE => 'halt',
|
|
|
4c79b5 |
# E_USER_ERROR => 'halt',
|
|
|
4c79b5 |
# E_USER_WARNING => 'none',
|
|
|
4c79b5 |
# E_USER_NOTICE => 'none'
|
|
|
4c79b5 |
# );
|
|
|
4c79b5 |
|
|
|
4c79b5 |
$g_display_errors = array(
|
|
|
4c79b5 |
E_WARNING => 'inline',
|
|
|
4c79b5 |
E_NOTICE => 'none',
|
|
|
4c79b5 |
E_USER_ERROR => 'halt',
|
|
|
4c79b5 |
E_USER_WARNING => 'inline',
|
|
|
4c79b5 |
E_USER_NOTICE => 'none'
|
|
|
4c79b5 |
);
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- debug messages ---
|
|
|
4c79b5 |
# If this option is turned OFF (default) page redirects will continue to
|
|
|
4c79b5 |
# function even if a non-fatal error occurs. For debugging purposes, you
|
|
|
4c79b5 |
# can set this to ON so that any non-fatal error will prevent page redirection,
|
|
|
4c79b5 |
# allowing you to see the errors.
|
|
|
4c79b5 |
# Only turn this option on for debugging
|
|
|
4c79b5 |
$g_stop_on_errors = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- system logging ---
|
|
|
4c79b5 |
# This controls the logging of information to a separate file for debug or audit
|
|
|
4c79b5 |
# $g_log_level controls what information is logged
|
|
|
4c79b5 |
# see constant_inc.php for details on the log channels available
|
|
|
4c79b5 |
# e.g., $g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT | LOG_FILTERING | LOG_AJAX;
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# $g_log_destination specifies the file where the data goes
|
|
|
4c79b5 |
# right now, only "file:<file path>" is supported
|
|
|
4c79b5 |
# e.g. (Linux), $g_log_destination = 'file:/tmp/mantis.log';
|
|
|
4c79b5 |
# e.g. (Windows), $g_log_destination = 'file:c:/temp/mantis.log';
|
|
|
4c79b5 |
# see http://www.php.net/error_log for details
|
|
|
4c79b5 |
$g_log_level = LOG_NONE;
|
|
|
4c79b5 |
$g_log_destination = '';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
##################
|
|
|
4c79b5 |
# Custom Fields
|
|
|
4c79b5 |
##################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to manage custom fields
|
|
|
4c79b5 |
$g_manage_custom_fields_threshold = ADMINISTRATOR;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to link/unlink custom field to/from a project
|
|
|
4c79b5 |
$g_custom_field_link_threshold = MANAGER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Whether to start editng a custom field immediately after creating it
|
|
|
4c79b5 |
$g_custom_field_edit_after_create = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#################
|
|
|
4c79b5 |
# Custom Menus
|
|
|
4c79b5 |
#################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Add custom options to the main menu. For example:
|
|
|
4c79b5 |
# $g_main_menu_custom_options = array( array( "My Link", MANAGER, 'my_link.php' ),
|
|
|
4c79b5 |
# array( "My Link2", ADMINISTRATOR, 'my_link2.php' ) );
|
|
|
4c79b5 |
# Note that if the caption is found in custom_strings_inc.php, then it will be replaced by the
|
|
|
4c79b5 |
# translated string. Options will only be added to the menu if the current logged in user has
|
|
|
4c79b5 |
# the appropriate access level.
|
|
|
4c79b5 |
$g_main_menu_custom_options = array ();
|
|
|
4c79b5 |
|
|
|
4c79b5 |
##########
|
|
|
4c79b5 |
# Icons
|
|
|
4c79b5 |
##########
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Maps a file extension to a file type icon. These icons are printed
|
|
|
4c79b5 |
# next to project documents and bug attachments.
|
|
|
4c79b5 |
# Note:
|
|
|
4c79b5 |
# - Extensions must be in lower case
|
|
|
4c79b5 |
# - All icons will be displayed as 16x16 pixels.
|
|
|
4c79b5 |
$g_file_type_icons = array(
|
|
|
4c79b5 |
'ods' => 'ods.png',
|
|
|
4c79b5 |
'ots' => 'ods.png',
|
|
|
4c79b5 |
'sxc' => 'ods.png',
|
|
|
4c79b5 |
'stc' => 'ods.png',
|
|
|
4c79b5 |
'dif' => 'ods.png',
|
|
|
4c79b5 |
'dbf' => 'ods.png',
|
|
|
4c79b5 |
'xls' => 'ods.png',
|
|
|
4c79b5 |
'xlt' => 'ods.png',
|
|
|
4c79b5 |
'sdc' => 'ods.png',
|
|
|
4c79b5 |
'vor' => 'ods.png',
|
|
|
4c79b5 |
'slk' => 'ods.png',
|
|
|
4c79b5 |
'csv' => 'ods.png',
|
|
|
4c79b5 |
'odt' => 'odt.png',
|
|
|
4c79b5 |
'ott' => 'odt.png',
|
|
|
4c79b5 |
'sxw' => 'odt.png',
|
|
|
4c79b5 |
'stw' => 'odt.png',
|
|
|
4c79b5 |
'doc' => 'odt.png',
|
|
|
4c79b5 |
'rtf' => 'odt.png',
|
|
|
4c79b5 |
'sdw' => 'odt.png',
|
|
|
4c79b5 |
'vor' => 'odt.png',
|
|
|
4c79b5 |
'sdw' => 'odt.png',
|
|
|
4c79b5 |
'odp' => 'odp.png',
|
|
|
4c79b5 |
'otp' => 'odp.png',
|
|
|
4c79b5 |
'sxi' => 'odp.png',
|
|
|
4c79b5 |
'sti' => 'odp.png',
|
|
|
4c79b5 |
'ppt' => 'odp.png',
|
|
|
4c79b5 |
'pot' => 'odp.png',
|
|
|
4c79b5 |
'sxd' => 'odp.png',
|
|
|
4c79b5 |
'sda' => 'odp.png',
|
|
|
4c79b5 |
'sdd' => 'odp.png',
|
|
|
4c79b5 |
'odg' => 'odp.png',
|
|
|
4c79b5 |
'7z' => 'compress.png',
|
|
|
4c79b5 |
'ace' => 'compress.png',
|
|
|
4c79b5 |
'arj' => 'compress.png',
|
|
|
4c79b5 |
'bz2' => 'compress.png',
|
|
|
4c79b5 |
'gz' => 'compress.png',
|
|
|
4c79b5 |
'lzh' => 'compress.png',
|
|
|
4c79b5 |
'rar' => 'compress.png',
|
|
|
4c79b5 |
'tar' => 'compress.png',
|
|
|
4c79b5 |
'tgz' => 'compress.png',
|
|
|
4c79b5 |
'uc2' => 'compress.png',
|
|
|
4c79b5 |
'zip' => 'compress.png',
|
|
|
4c79b5 |
'rpm' => 'compress.png',
|
|
|
4c79b5 |
'srpm' => 'compress.png',
|
|
|
4c79b5 |
'eml' => 'mail.png',
|
|
|
4c79b5 |
'htm' => 'html.png',
|
|
|
4c79b5 |
'html' => 'html.png',
|
|
|
4c79b5 |
'mhtml' => 'html.png',
|
|
|
4c79b5 |
'jpe' => 'image.png',
|
|
|
4c79b5 |
'jpg' => 'image.png',
|
|
|
4c79b5 |
'jpeg' => 'image.png',
|
|
|
4c79b5 |
'pdf' => 'image.png',
|
|
|
4c79b5 |
'png' => 'image.png',
|
|
|
4c79b5 |
'mid' => 'audio.png',
|
|
|
4c79b5 |
'midi' => 'audio.png',
|
|
|
4c79b5 |
'wav' => 'audio.png',
|
|
|
4c79b5 |
'wma' => 'audio.png',
|
|
|
4c79b5 |
'wmv' => 'audio.png',
|
|
|
4c79b5 |
'mov' => 'movie.png',
|
|
|
4c79b5 |
'msg' => 'mail.png',
|
|
|
4c79b5 |
'?' => 'generic.png' );
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Icon associative arrays
|
|
|
4c79b5 |
# Status to icon mapping
|
|
|
4c79b5 |
$g_status_icon_arr = array (
|
|
|
4c79b5 |
NONE => '',
|
|
|
4c79b5 |
LOW => 'priority_low_1.gif',
|
|
|
4c79b5 |
NORMAL => '',
|
|
|
4c79b5 |
HIGH => 'priority_1.gif',
|
|
|
4c79b5 |
URGENT => 'priority_2.gif',
|
|
|
4c79b5 |
IMMEDIATE => 'priority_3.gif'
|
|
|
4c79b5 |
);
|
|
|
4c79b5 |
# --------------------
|
|
|
4c79b5 |
# Sort direction to icon mapping
|
|
|
4c79b5 |
$g_sort_icon_arr = array (
|
|
|
4c79b5 |
ASCENDING => 'up.gif',
|
|
|
4c79b5 |
|
|
|
4c79b5 |
DESCENDING => 'down.gif'
|
|
|
4c79b5 |
|
|
|
4c79b5 |
);
|
|
|
4c79b5 |
# --------------------
|
|
|
4c79b5 |
# Read status to icon mapping
|
|
|
4c79b5 |
$g_unread_icon_arr = array (
|
|
|
4c79b5 |
READ => 'mantis_space.gif',
|
|
|
4c79b5 |
UNREAD => 'unread.gif'
|
|
|
4c79b5 |
);
|
|
|
4c79b5 |
# --------------------
|
|
|
4c79b5 |
|
|
|
4c79b5 |
##################
|
|
|
4c79b5 |
# My View Settings
|
|
|
4c79b5 |
##################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Number of bugs shown in each box
|
|
|
4c79b5 |
$g_my_view_bug_count = 10;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Boxes to be shown and their order
|
|
|
4c79b5 |
# A box that is not to be shown can have its value set to 0
|
|
|
4c79b5 |
$g_my_view_boxes = array (
|
|
|
4c79b5 |
'assigned' => '1',
|
|
|
4c79b5 |
'unassigned' => '2',
|
|
|
4c79b5 |
'reported' => '3',
|
|
|
4c79b5 |
'resolved' => '4',
|
|
|
4c79b5 |
'recent_mod' => '5',
|
|
|
4c79b5 |
'monitored' => '6',
|
|
|
4c79b5 |
'feedback' => '0',
|
|
|
4c79b5 |
'verify' => '0'
|
|
|
4c79b5 |
);
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Toggle whether 'My View' boxes are shown in a fixed position (i.e. adjacent boxes start at the same vertical position)
|
|
|
4c79b5 |
$g_my_view_boxes_fixed_position = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Default page after Login or Set Project
|
|
|
4c79b5 |
$g_default_home_page = 'my_view_page.php';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
######################
|
|
|
4c79b5 |
# RSS Feeds
|
|
|
4c79b5 |
######################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# This flag enables or disables RSS syndication. In the case where RSS syndication is not used,
|
|
|
4c79b5 |
# it is recommended to set it to OFF.
|
|
|
4c79b5 |
$g_rss_enabled = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# This seed is used as part of the inputs for calculating the authentication key for the RSS feeds.
|
|
|
4c79b5 |
# If this seed changes, all the existing keys for the RSS feeds will become invalid. This is
|
|
|
4c79b5 |
# defaulted to the database user name, but it is recommended to overwrite it with a specific value
|
|
|
4c79b5 |
# on installation.
|
|
|
4c79b5 |
$g_rss_key_seed = '%db_username%';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
######################
|
|
|
4c79b5 |
# Bug Relationships
|
|
|
4c79b5 |
######################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Enable support for bug relationships where a bug can be a related, dependent on, or duplicate of another.
|
|
|
4c79b5 |
# See relationship_api.php for more details.
|
|
|
4c79b5 |
$g_enable_relationship = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# --- Relationship Graphs -----------
|
|
|
4c79b5 |
# Show issue relationships using graphs.
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# In order to use this feature, you must first install either GraphViz
|
|
|
4c79b5 |
# (all OSs except Windows) or WinGraphviz (only Windows).
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# Graphviz homepage: http://www.research.att.com/sw/tools/graphviz/
|
|
|
4c79b5 |
# WinGraphviz homepage: http://home.so-net.net.tw/oodtsen/wingraphviz/
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# Refer to the notes near the top of core/graphviz_api.php and
|
|
|
4c79b5 |
# core/relationship_graph_api.php for more information.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Enable relationship graphs support.
|
|
|
4c79b5 |
$g_relationship_graph_enable = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Font name and size, as required by Graphviz. If Graphviz fails to run
|
|
|
4c79b5 |
# for you, you are probably using a font name that gd can't find. On
|
|
|
4c79b5 |
# Linux, try the name of the font file without the extension.
|
|
|
4c79b5 |
$g_relationship_graph_fontname = 'Arial';
|
|
|
4c79b5 |
$g_relationship_graph_fontsize = 8;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Local path where the above font is found on your system for Relationship Graphs
|
|
|
4c79b5 |
# You shouldn't care about this on Windows since there is only one system
|
|
|
4c79b5 |
# folder where fonts are installed and Graphviz already knows where it
|
|
|
4c79b5 |
# is. On Linux and other unices, the default font search path is defined
|
|
|
4c79b5 |
# during Graphviz compilation. If you are using a pre-compiled Graphviz
|
|
|
4c79b5 |
# package provided by your distribution, probably the font search path was
|
|
|
4c79b5 |
# already configured by the packager.
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# If for any reason, the font file you want to use is not in any directory
|
|
|
4c79b5 |
# listed on the default font search path list, you can either: (1) export
|
|
|
4c79b5 |
# the DOTFONTPATH environment variable in your webserver startup script
|
|
|
4c79b5 |
# or (2) use this config option conveniently available here. If you need
|
|
|
4c79b5 |
# to list more than one directory, use colons to separate them.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Since 0.19.3 we use the $g_system_font_folder variable to define the font folder
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Default dependency orientation. If you have issues with lots of childs
|
|
|
4c79b5 |
# or parents, leave as 'horizontal', otherwise, if you have lots of
|
|
|
4c79b5 |
# "chained" issue dependencies, change to 'vertical'.
|
|
|
4c79b5 |
$g_relationship_graph_orientation = 'horizontal';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Max depth for relation graphs. This only affects relation graphs,
|
|
|
4c79b5 |
# dependency graphs are drawn to the full depth. A value of 3 is already
|
|
|
4c79b5 |
# enough to show issues really unrelated to the one you are currently
|
|
|
4c79b5 |
# viewing.
|
|
|
4c79b5 |
$g_relationship_graph_max_depth = 2;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# If set to ON, clicking on an issue on the relationship graph will open
|
|
|
4c79b5 |
# the bug view page for that issue, otherwise, will navigate to the
|
|
|
4c79b5 |
# relationship graph for that issue.
|
|
|
4c79b5 |
$g_relationship_graph_view_on_click = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Complete path to dot and neato tools. Your webserver must have execute
|
|
|
4c79b5 |
# permission to these programs in order to generate relationship graphs.
|
|
|
4c79b5 |
# NOTE: These are meaningless under Windows! Just ignore them!
|
|
|
4c79b5 |
$g_dot_tool = '/usr/bin/dot';
|
|
|
4c79b5 |
$g_neato_tool = '/usr/bin/neato';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Number of years in the future that custom date fields will display in
|
|
|
4c79b5 |
# drop down boxes.
|
|
|
4c79b5 |
$g_forward_year_count = 4 ;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Custom Group Actions
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# This extensibility model allows developing new group custom actions. This
|
|
|
4c79b5 |
# can be implemented with a totally custom form and action pages or with a
|
|
|
4c79b5 |
# pre-implemented form and action page and call-outs to some functions. These
|
|
|
4c79b5 |
# functions are to be implemented in a predefined file whose name is based on
|
|
|
4c79b5 |
# the action name. For example, for an action to add a note, the action would
|
|
|
4c79b5 |
# be EXT_ADD_NOTE and the file implementing it would be bug_actiongroup_add_note_inc.php.
|
|
|
4c79b5 |
# See implementation of this file for details.
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# Sample:
|
|
|
4c79b5 |
#
|
|
|
4c79b5 |
# array(
|
|
|
4c79b5 |
# array( 'action' => 'my_custom_action',
|
|
|
4c79b5 |
# 'label' => 'my_label', // string to be passed to lang_get_defaulted()
|
|
|
4c79b5 |
# 'form_page' => 'my_custom_action_page.php',
|
|
|
4c79b5 |
# 'action_page' => 'my_custom_action.php'
|
|
|
4c79b5 |
# )
|
|
|
4c79b5 |
# array( 'action' => 'my_custom_action2',
|
|
|
4c79b5 |
# 'form_page' => 'my_custom_action2_page.php',
|
|
|
4c79b5 |
# 'action_page' => 'my_custom_action2.php'
|
|
|
4c79b5 |
# )
|
|
|
4c79b5 |
# array( 'action' => 'EXT_ADD_NOTE', // you need to implement bug_actiongroup_
|
|
|
4c79b5 |
# 'label' => 'actiongroup_menu_add_note' // see strings_english.txt for this label
|
|
|
4c79b5 |
# )
|
|
|
4c79b5 |
# );
|
|
|
4c79b5 |
$g_custom_group_actions = array();
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#####################
|
|
|
4c79b5 |
# Wiki Integration
|
|
|
4c79b5 |
#####################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Wiki Integration Enabled?
|
|
|
4c79b5 |
$g_wiki_enable = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Wiki Engine (supported engines: 'dokuwiki', 'mediawiki', 'xwiki')
|
|
|
4c79b5 |
$g_wiki_engine = 'dokuwiki';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Wiki namespace to be used as root for all pages relating to this mantis installation.
|
|
|
4c79b5 |
$g_wiki_root_namespace = 'mantis';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# URL under which the wiki engine is hosted. Must be on the same server.
|
|
|
4c79b5 |
$g_wiki_engine_url = $t_protocol . '://' . $t_host . '/%wiki_engine%/';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#####################
|
|
|
4c79b5 |
# Recently Visited
|
|
|
4c79b5 |
#####################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Whether to show the most recently visited issues or not. At the moment we always track them even if this flag is off.
|
|
|
4c79b5 |
$g_recently_visited = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# The maximum number of issues to keep in the recently visited list.
|
|
|
4c79b5 |
$g_recently_visited_count = 5;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#####################
|
|
|
4c79b5 |
# Bug Tagging
|
|
|
4c79b5 |
#####################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# String that will separate tags as entered for input
|
|
|
4c79b5 |
$g_tag_separator = ',';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Access level required to view tags attached to a bug
|
|
|
4c79b5 |
$g_tag_view_threshold = VIEWER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Access level required to attach tags to a bug
|
|
|
4c79b5 |
$g_tag_attach_threshold = REPORTER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Access level required to detach tags from a bug
|
|
|
4c79b5 |
$g_tag_detach_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Access level required to detach tags attached by the same user
|
|
|
4c79b5 |
$g_tag_detach_own_threshold = REPORTER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Access level required to create new tags
|
|
|
4c79b5 |
$g_tag_create_threshold = REPORTER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Access level required to edit tag names and descriptions
|
|
|
4c79b5 |
$g_tag_edit_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Access level required to edit descriptions by the creating user
|
|
|
4c79b5 |
$g_tag_edit_own_threshold = REPORTER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#####################
|
|
|
4c79b5 |
# Time tracking
|
|
|
4c79b5 |
#####################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Turn on Time Tracking accounting
|
|
|
4c79b5 |
$g_time_tracking_enabled = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# A billing sums
|
|
|
4c79b5 |
$g_time_tracking_with_billing = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Stop watch to build time tracking field
|
|
|
4c79b5 |
$g_time_tracking_stopwatch = OFF;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level required to view time tracking information
|
|
|
4c79b5 |
$g_time_tracking_view_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level required to add/edit time tracking information
|
|
|
4c79b5 |
$g_time_tracking_edit_threshold = DEVELOPER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# access level required to run reports
|
|
|
4c79b5 |
$g_time_tracking_reporting_threshold = MANAGER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#allow time tracking to be recorded without a bugnote
|
|
|
4c79b5 |
$g_time_tracking_without_note = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
# Profile Related Settings
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Add profile threshold
|
|
|
4c79b5 |
$g_add_profile_threshold = REPORTER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Threshold needed to be able to create and modify global profiles
|
|
|
4c79b5 |
$g_manage_global_profile_threshold = MANAGER;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# Allows the users to enter free text when reporting/updating issues
|
|
|
4c79b5 |
# for the profile related fields (i.e. platform, os, os build)
|
|
|
4c79b5 |
$g_allow_freetext_in_profile_fields = ON;
|
|
|
4c79b5 |
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
# Twitter Settings
|
|
|
4c79b5 |
#############################
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# The integration with twitter allows for a Mantis installation to post
|
|
|
4c79b5 |
# updates to a twitter account. This feature will be disabled if username
|
|
|
4c79b5 |
# is empty or if the curl extension is not enabled.
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# The twitter account user name.
|
|
|
4c79b5 |
$g_twitter_username = '';
|
|
|
4c79b5 |
|
|
|
4c79b5 |
# The twitter account password.
|
|
|
4c79b5 |
$g_twitter_password = '';
|
|
|
4c79b5 |
?>
|