Commit d05174286d4eff8c5eda35151bb8e0feec639ee8
1 parent
330dc38810
Exists in
usloviya-razmeschniya
условия размещения - изменили 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 | } |