每天进步一点点!

windowsXP下mantis的配置文件内容

上一篇 / 下一篇  2009-02-26 12:56:34 / 天气: 晴朗 / 心情: 平静

配置前的配置:

apache2.2.10、php5.2.8、mysql5.0.18、JpGraphv2.3.3

mantis-1.1.6

其中mantis的配置文件内容如下:

打开mantis地下的config_inc.php.samp文件复制并改名为config_inc.php。 这个文件就是mantis的重量级文件了。我们的配置几乎都集中在这里了,配置后的内容为:

<?php 
 # --- database variables ---------
 # set these values to match your setup
 $g_hostname = 'localhost:3306';
 $g_db_username = 'root';
 $g_db_password = 'admin';
 $g_database_name = 'bugtracker';
 $g_db_type = 'mysql';
 $g_default_language ='chinese_simplified';
 $g_window_title = 'mantis BUG管理系统';
 $g_page_title = '欢迎使用Mantis BUG 跟踪管理系统 趣得网 无需注册 免费 

发布';
 $g_show_queries_count = OFF;

 # --- email variables -------------

 $g_use_phpMailer = ON; #使用phpMailer

 $g_phpMailer_path = 'D:/mantisbt-1.1.6/core/phpmailer'; //phpMailer路 

 $g_phpMailer_method = 2; #使用SMTP服务

 $g_smtp_host = 'smtp.163.com'; #使用SMTP服务

 $g_smtp_username = '353339319';

 $g_smtp_password = '456852';

 $g_administrator_email ='353339319@163.com';

 $g_webmaster_email ='353339319@163.com';

 $g_from_email ='353339319@163.com';

 $g_return_path_email ='353339319@163.com';

 # --- file upload settings --------

 $g_allow_file_upload = ON; //使用上传文件功能

 $g_file_upload_method = DISK;

 $g_max_file_size = 100000000; # 100 MB #设置文件空间

 # --- jpgraph settings --------

 $g_use_jpgraph = ON; # 使用jpgraph

$g_jpgraph_path = 'D:/mantisbt-1.1.6/core/jpgraph/src'.DIRECTORY_SEPARATOR.''.

DIRECTORY_SEPARATOR;
; # 指定pgraph的路径

 $g_graph_font = 'chinese_gbk'; # 设置jpgraph图形字体
 # --- time settings --------

 $g_short_date_format = 'Y-m-d';
 $g_normal_date_format = 'Y-m-d H:i';
 $g_complete_date_format = 'Y-m-d H:i'; 
?>


TAG:

 

评分:0

我来说两句

日历

« 2024-04-25  
 123456
78910111213
14151617181920
21222324252627
282930    

数据统计

  • 访问量: 11403
  • 日志数: 27
  • 图片数: 1
  • 建立时间: 2009-01-05
  • 更新时间: 2010-07-09

RSS订阅

Open Toolbar