From b0d69c99d668c61f87b24b2891ca50c6eda7a37a Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Thu, 28 Mar 2019 21:26:15 -0400 Subject: app/controllers|views: Remove old controllers and views --- app/controllers/mail.controller.php | 31 ------------------------------- 1 file changed, 31 deletions(-) delete mode 100644 app/controllers/mail.controller.php (limited to 'app/controllers') diff --git a/app/controllers/mail.controller.php b/app/controllers/mail.controller.php deleted file mode 100644 index ce593d6..0000000 --- a/app/controllers/mail.controller.php +++ /dev/null @@ -1,31 +0,0 @@ -'. $email . ''; - include '../app/views/mail-error.view.php'; - return; -} - -require '../app/views/mail-sent.view.php'; - -fastcgi_finish_request(); -$form->isSubmit(); - -$contact['database']->insert( - 'contactform', [ - 'name' => $form->name, - 'email' => $form->email, - 'message' => $form->message, - ] -); -- cgit v1.2.3