testlinkmantis系列:Testlink配置修改

Ginger ·
更新时间:2024-09-21
· 637 次阅读

1. Testlink配置修改 1.1. config.inc.php 1.1.1. 日志路径配置

/**

 *  @var string Path to store logs -

 *for security reasons (see http://itsecuritysolutions.org/2012-08-13-TestLink-1.9.3-multiple-vulnerabilities/)

 *put it out of reach via web or configure access denied.

 */

//$tlCfg->log_path = '/var/testlink/logs/'; /* unix example */

=>

$tlCfg->log_path = 'D:Program FilesEasyPHP-12.1www estlinklogs\';

1.1.2. 上传文件路径配置

/**

 * TL_REPOSITORY_TYPE_FS: the where the filesystem repository should be located

 * We recommend to change the directory for security reason.

 * (see http://itsecuritysolutions.org/2012-08-13-TestLink-1.9.3-multiple-vulnerabilities/)

 * Put it out of reach via web or configure access denied.

 *

 **/

//$g_repositoryPath = '/var/testlink/upload_area/';  /* unix example */

=》

$g_repositoryPath = 'D:Program FilesEasyPHP-12.1www estlinkupload_area\';

1.1.3. 配置检查警告模式修改

There are security warnings for your consideration. See details on file: D:Program FilesEasyPHP-12.1www estlinklogsconfig_check.txt. To disable any reference to these checkings, set $tlCfg->config_check_warning_mode = 'SILENT';

/**

 * @var string How to warning user when security weak points exists.

 *

 * 'SCREEN': messages will displayed on login screen, and tl desktop (default)

 * 'FILE': a file with a list is created but users are not notified via GUI

 *         user will receive a message on screen.

 * 'SILENT': same that FILE, but user will not receive message on screen.

 */

//$tlCfg->config_check_warning_mode = 'FILE';

=》

$tlCfg->config_check_warning_mode = 'SILENT';



mantis testlink

需要 登录 后方可回复, 如果你还没有账号请 注册新账号