Commit d05174286d4eff8c5eda35151bb8e0feec639ee8

Authored by poskrobkaA
1 parent 330dc38810

условия размещения - изменили email администратора

Showing 2 changed files with 3 additions and 2 deletions Side-by-side Diff

app/Http/Controllers/PagesController.php
... ... @@ -23,8 +23,8 @@ class PagesController extends Controller
23 23  
24 24 public function form_feedback(RequestSendAdmin $request){
25 25 $all = $request->all();
26   -
27   - Mail::to(env('EMAIL_ADMIN'))->send(new MailAdminy($all));
  26 + // Mail::to(env('EMAIL_ADMIN'))->send(new MailAdminy($all));
  27 + Mail::to(config('mail.emailAdmin'))->send(new MailAdminy($all));
28 28  
29 29 return redirect()->back()->with('Сообщение было успешно отправлено и будет обработано');
30 30 }
... ... @@ -115,4 +115,5 @@ return [
115 115 ],
116 116 ],
117 117  
  118 + 'emailAdmin' => env('EMAIL_ADMIN', 'info1@rekamore.su'),
118 119 ];