aboutsummaryrefslogtreecommitdiff
path: root/app/model
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-11-30 00:09:47 -0500
committerThedro Neely <thedroneely@gmail.com>2019-11-30 00:09:47 -0500
commit9f1ebaf5e1eb14a0f849c294a98e26ed4d5c7ee6 (patch)
tree7a6482d3e97cbcf4412e618fee3c2577a22983b5 /app/model
parent08101d0cc8a3f769eb99f50c438f6aaa88e8dc69 (diff)
downloadthedroneely.com-9f1ebaf5e1eb14a0f849c294a98e26ed4d5c7ee6.tar.gz
thedroneely.com-9f1ebaf5e1eb14a0f849c294a98e26ed4d5c7ee6.tar.bz2
thedroneely.com-9f1ebaf5e1eb14a0f849c294a98e26ed4d5c7ee6.zip
AppConfigBuild.php: Move hardcoded metadata to environment variables
Diffstat (limited to 'app/model')
-rw-r--r--app/model/Form.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/model/Form.php b/app/model/Form.php
index 61efb2f..e8fc1f9 100644
--- a/app/model/Form.php
+++ b/app/model/Form.php
@@ -51,8 +51,8 @@ class Form
$mail->Password = $config['mail']['password'];
//Recipients
- $mail->setFrom($config['mail']['username'], 'Thedro Neely');
- $mail->addAddress($config['mail']['username'], 'Thedro Neely');
+ $mail->setFrom($config['mail']['username'], $config['mail']['name']);
+ $mail->addAddress($config['mail']['username'], $config['mail']['name']);
//Content
$mail->isHTML(true);