Explorar el Código

Weenier utc项目部署 0625

wesmiler hace 3 años
padre
commit
cc503c02d5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Services/EmailService.php

+ 1 - 1
app/Services/EmailService.php

@@ -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;