forked from mantisbt/mantisbt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_inc.php.sample
81 lines (68 loc) · 3.22 KB
/
config_inc.php.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?php
# MantisBT - a php based bugtracking system
# MantisBT is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# MantisBT is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with MantisBT. If not, see <http://www.gnu.org/licenses/>.
/**
* @package MantisBT
* @copyright Copyright (C) 2000 - 2002 Kenzaburo Ito - [email protected]
* @copyright Copyright (C) 2002 - 2012 MantisBT Team - [email protected]
* @link http://www.mantisbt.org
*/
# This sample file contains the essential files that you MUST
# configure to your specific settings. You may override settings
# from config_defaults_inc.php by uncommenting the config option
# and setting its value in this file.
# Rename this file to config_inc.php after configuration.
# In general the value OFF means the feature is disabled and ON means the
# feature is enabled. Any other cases will have an explanation.
# Look in http://www.mantisbt.org/docs/ or config_defaults_inc.php for more
# detailed comments.
# --- Database Configuration ---
$g_hostname = 'localhost';
$g_db_username = 'mantisdbuser';
$g_db_password = '';
$g_database_name = 'bugtracker';
$g_db_type = 'mysql';
# --- Anonymous Access / Signup ---
$g_allow_signup = ON;
$g_allow_anonymous_login = OFF;
$g_anonymous_account = '';
# --- Email Configuration ---
$g_phpMailer_method = PHPMAILER_METHOD_MAIL; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL
$g_smtp_host = 'localhost'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_username = ''; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password = ''; # used with PHPMAILER_METHOD_SMTP
$g_administrator_email = '[email protected]';
$g_webmaster_email = '[email protected]';
$g_from_email = '[email protected]'; # the "From: " field in emails
$g_return_path_email = '[email protected]'; # the return address for bounced mail
# $g_from_name = 'Mantis Bug Tracker';
# $g_email_receive_own = OFF;
# $g_email_send_using_cronjob = OFF;
# --- Attachments / File Uploads ---
# $g_allow_file_upload = ON;
# $g_file_upload_method = DATABASE; # or DISK
# $g_absolute_path_default_upload_folder = ''; # used with DISK, must contain trailing \ or /.
# $g_max_file_size = 5000000; # in bytes
# $g_preview_attachments_inline_max_size = 256 * 1024;
# $g_allowed_files = ''; # extensions comma separated, e.g. 'php,html,java,exe,pl'
# $g_disallowed_files = ''; # extensions comma separated
# --- Branding ---
# $g_window_title = 'MantisBT';
# $g_logo_image = 'images/mantis_logo.png';
# $g_favicon_image = 'images/favicon.ico';
# --- Real names ---
# $g_show_realname = OFF;
# $g_show_user_realname_threshold = NOBODY; # Set to access level (e.g. VIEWER, REPORTER, DEVELOPER, MANAGER, etc)
# --- Others ---
# $g_default_home_page = 'my_view_page.php'; # Set to name of page to go to after login