//mantis.cfg
//Set the bug tracking system Interface to MANTIS 0.19.1
//also tested with MANTIS 1.0.0.a3
/** The DB host to use when connecting to the mantis db */
define('BUG_TRACK_DB_HOST', '10.55.24.168');
/** The name of the database that contains the mantis tables */
define('BUG_TRACK_DB_NAME', 'bugtracker');
/** The DB type being used by mantis
values: mysql,mssql,postgres
*/
define('BUG_TRACK_DB_TYPE', 'mysql');
/** The DB password to use for connecting to the mantis db */
define('BUG_TRACK_DB_USER', 'admin');
define('BUG_TRACK_DB_PASS', 'admin');
/* link of the web server for mantis*/
/* anonymous login into mantis has to be turned on, and a mantis user has to created with viewer rights to all public projects
/* Change the following in your mantis config_inc.php (replace dummy with your created user)
# --- anonymous login -----------
# Allow anonymous login
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'dummy';
*/
define('BUG_TRACK_HREF', "http://10.55.24.168/mantis/view.php?id=");
/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://10.55.24.168/mantis/");
//config.inc
/* [Bug Tracking systems] */
/**
* TestLink collaborates with bug tracking systems to check if displayed bugs resolved,
* verified, and closed reports.
*
* Note: Use this option to check if a bug interface is enabled, if so every
* page using bug tracking MUST include int_bugtracking.php to make the
* connection. The variable bugInterfaceOn is only set when a connection is made
*
* @var string $g_interface_bugs = [
* 'NO' : no bug tracking system integration (DEFAULT)
* 'BUGZILLA' : edit configuration in TL_ABS_PATH/cfg/bugzilla.cfg.php
* 'MANTIS' : edit configuration in TL_ABS_PATH/cfg/mantis.cfg.php
* 'JIRA' : edit configuration in TL_ABS_PATH/cfg/jira.cfg.php
* 'JIRASOAP' : edit configuration in TL_ABS_PATH/cfg/jira.cfg.php
* 'TRACKPLUS' : edit configuration in TL_ABS_PATH/cfg/trackplus.cfg.php
* 'EVENTUM' : edit configuration in TL_ABS_PATH/cfg/eventum.cfg.php
* 'SEAPINE' : edit configuration in TL_ABS_PATH/cfg/seapine.cfg.php
* 'GFORGE' : edit configuration in TL_ABS_PATH/cfg/gforge.cfg.php
* 'FOGBUGZ' : edit configuration in TL_ABS_PATH/cfg/fogbugz.cfg.php
* 'YOUTRACK' : edit configuration in TL_ABS_PATH/cfg/youtrack.cfg.php
* ]
*/
$g_interface_bugs = 'MANTIS';作者: zerglordyzj 时间: 2011-11-8 11:17
自己沙发先!作者: zerglordyzj 时间: 2011-11-9 10:28
唉,还是自己搞定了。MANTIS.CFG.PHP里面的MANTIS数据库用户名密码,我填成MANTIS平台的用户名密码了。作者: liuyao205 时间: 2012-5-9 11:33
mantis.cfg.php配置文件如下:
<?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
* $Id: mantis.cfg.php,v 1.7.2.1 2007/12/07 11:33:30 franciscom Exp $
*
* Constants used throughout TestLink are defined within this file
* they should be changed for your environment
*
* 20051229 - scs - added DEFINE for the DB-Type
*/
//Set the bug tracking system Interface to MANTIS 0.19.1
//also tested with MANTIS 1.0.0.a3
/** The DB host to use when connecting to the mantis db */
define('BUG_TRACK_DB_HOST', '192.168.18.125');
/** The name of the database that contains the mantis tables */
define('BUG_TRACK_DB_NAME', 'mantis');
/** The DB type being used by mantis
values: mysql,mssql,postgres
*/
define('BUG_TRACK_DB_TYPE', 'mysql');
/** The DB password to use for connecting to the mantis db */
define('BUG_TRACK_DB_USER', 'root');
define('BUG_TRACK_DB_PASS', 'root');
/* link of the web server for mantis*/
/* anonymous login into mantis has to be turned on, and a mantis user has to created with viewer rights to all public projects
/* Change the following in your mantis config_inc.php (replace dummy with your created user)
*/
# --- anonymous login -----------
# Allow anonymous login
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'dummy';