Mantis 를 기본적으로설치하면 config_inc.php 파일에 호스트정보와 DB정보가 기본적으로 셋팅된다.(Mantis 1.1.8을 기준으로 설명)
$g_hostname = ';
$g_db_type = 'mysql';
$g_database_name = 'bugtracker';
$g_db_username = '';
$g_db_password = '';
?>
Mail설정을 추가하려면 config_inc_default.php 에서 mail 관련 사항들을 추가해주면 된다.
# Urgent = 1, Not Urgent = 5, Disable = 0
# Note: some MTAs interpret X-Priority = 0 to mean 'Very Urgent'
$g_mail_priority = 1;
# select the method to mail by:
# 0 - mail()
# 1 - sendmail
# 2 - SMTP
$g_phpMailer_method = 2;
# One or more hosts, separated by a semicolon, can be listed.
# You can also specify a different port for each host by using this
# format: [hostname:port] (e.g. "smtp1.example.com:25;smtp2.example.com").
# Hosts will be tried in order.
$g_smtp_host = '';
# SMTP host with phpMailer. If smtp_username is not '' then the username
# and password will be used when logging in to the SMTP server.
$g_smtp_username = '';
$g_smtp_password = '';
Mail 설정이 끝나면 새 계정만들때 기본 언어값 메일발송과 브라우저의 타이틀 값을 설정해주면 된다.
$g_fallback_language = 'korean';
$g_window_title = 'company Name : Mantis; # browser window title
그리고 Mantis 로고를 눌렀을때 Mantis 홈페이지로 가게 되어있는데 이부분을 수정하려면 core/html_api.php 파일에서 http://www.mantisbt.org 를 원하는 URL로 변경해주면 된다.
Line 317: echo '<a href="http://www.mantisbt.org/" title="Free Web Based Bug Tracker"><img border="0" width="242" height="102" alt="Mantis Bugtracker" src="images/mantis_logo.gif" /></a>';
Line 415: echo "\t", '<span class="timer"><a href="http://www.mantisbt.org/" title="Free Web Based Bug Tracker">Mantis ', MANTIS_VERSION, '</a>',
Line 416: '[<a href="hhttp://www.mantisbt.org/" title="Free Web Based Bug Tracker" target="_blank">^</a>]</span>', "\n";
Line 470: echo '<a href="http://www.mantisbt.org/" title="Free Web Based Bug Tracker"><img src="images/mantis_logo_button.gif" width="88" height="35" alt="Powered by Mantis Bugtracker" border="0" /></a>';
댓글 없음:
댓글 쓰기