diff options
-rw-r--r-- | index.php | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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(); |