( 或是{mantis_path}/config_inc.php ) 如果缺少此檔,就自己新增一個 ~
=================================================
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysqli';
$g_database_name = 'bugtracker';
$g_db_username = 'root'; #input your database server username
$g_db_password = 'root'; #input your database server passwd
$g_default_timezone = 'Asia/Taipei';
$g_crypto_master_salt = 'RKCEdulaQd4f+j8zNfdcVzRMjrM4DXI1OlhAZtjNntc=';
$g_phpMailer_method= PHPMAILER_METHOD_SMTP ;
$g_smtp_host= 'smtp.gmail.com';
$g_smtp_username = 'your_gmail_account@gmail.com';
$g_smtp_password = '*******'; #input your smtp server passwd
$g_smtp_connection_mode = 'ssl';
$g_smtp_port = 465;
?>
========================================================
改完之後重新啟動apach即可
#/etc/init.d/apache2 restart
沒有留言:
張貼留言