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