顯示頁面舊版反向連結Fold/unfold all回到頁頂 本頁是唯讀的,您可以看到原始碼,但不能更動它。您如果覺得它不應被鎖上,請詢問管理員。 ====== Mantis 技巧整理 ====== ===== 出現 due_date (管制日期) 的設定 ===== Mantis 1.2.x 其實已經有 due_date 這個欄位, 所以只要在 config_inc.php 內增加以下兩行就可以出現 <file> : # --- due date -------------------- $g_due_date_update_threshold = REPORTER; $g_due_date_view_threshold = VIEWER; $g_path = 'http://xxx.xxx.com/mantis/'; : </file> <note> $g_path 要設定成 Mantis 實際的網址 \\ 這樣信件內容所列出來的項目連結才會正確 </note> 再來就可以配合 Reminder Plugin 看看如何通知提醒即將到期的問題 * 參考網址 - http://www.mantisbt.org/bugs/view.php?id=10236 ===== 設定寄信主機與信箱 ===== 只要在 config_inc.php 內增加以下就可以指定使用 SMTP 透過 Mail Server 寄信 <file> : # --- email variables ------------- $g_phpMailer_method = 2; # SMTP $g_smtp_host = '192.168.0.223'; $g_smtp_port = 25; $g_smtp_username = 'mantis'; $g_smtp_password = 'mantis_password'; $g_administrator_email = 'mantis@mail.com'; $g_webmaster_email = 'mantis@mail.com'; # the "From: " field in emails $g_from_email = 'mantis@mail.com'; # the return address for bounced mail $g_return_path_email = 'mantis@mail.com'; : </file> {{tag>mantis tips}} tech/mantistips.txt 上一次變更: 2016/12/10 08:58由 jonathan