summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/index.php b/index.php
index b9a58b1..5865961 100644
--- a/index.php
+++ b/index.php
@@ -375,9 +375,9 @@
use PHPMailer\PHPMailer\PHPMailer;
- require('PHPMailer-master/src/PHPMailer.php');
- require('PHPMailer-master/src/SMTP.php');
- require('PHPMailer-master/src/Exception.php');
+ require('/usr/local/share/phpmailer/PHPMailer.php');
+ require('/usr/local/share/phpmailer/SMTP.php');
+ require('/usr/local/share/phpmailer/Exception.php');
// handle form submission
if (empty($_POST['content']) && isset($_POST['name'], $_POST['email'], $_POST['body'])) {
@@ -390,9 +390,9 @@
$email = $_POST['email'];
- $smtpuser = file_get_contents('/var/carpentertutoring/smtpuser');
- $smtppass = file_get_contents('/var/carpentertutoring/smtppass');
- $address = file_get_contents('/var/carpentertutoring/address');
+ $smtpuser = file_get_contents('/var/carpentertutoring/config/smtpuser');
+ $smtppass = file_get_contents('/var/carpentertutoring/config/smtppass');
+ $address = file_get_contents('/var/carpentertutoring/config/address');
$mail = new PHPMailer();
$mail->isSMTP();