|
|
@@ -55,7 +55,7 @@ class EmailService extends BaseService
|
|
|
$mail['from']['name'] = 'UTC交易平台';
|
|
|
$this->config = array_merge($config, $smtp);
|
|
|
if ($mailKey != md5(json_encode($mail))) {
|
|
|
- file_put_contents(base_path() . '/config/mail.php', "<?php \n /* 邮箱服务配置 */ \n return " . var_export($mail, true) . ';' . "\n \\?\\>");
|
|
|
+ file_put_contents(base_path() . '/config/mail.php', "<?php \n /* 邮箱服务配置 */ \n return " . var_export($mail, true) . ';' . "\n ?>");
|
|
|
}
|
|
|
|
|
|
return true;
|