diff options
author | arf20 <aruizfernandez05@gmail.com> | 2024-03-18 16:02:34 +0100 |
---|---|---|
committer | arf20 <aruizfernandez05@gmail.com> | 2024-03-18 16:02:34 +0100 |
commit | 6bf04fb78dddeef3d95a4dfd7de75546055e04b0 (patch) | |
tree | ad7146cd80bc79821e4bab395ba328bd8b980307 /config.php.example | |
parent | 3b86297c2ddcd691842efd22426fc301f6927ffa (diff) | |
download | arfnet2-cstims-6bf04fb78dddeef3d95a4dfd7de75546055e04b0.tar.gz arfnet2-cstims-6bf04fb78dddeef3d95a4dfd7de75546055e04b0.zip |
Small fixes
Diffstat (limited to 'config.php.example')
-rw-r--r-- | config.php.example | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config.php.example b/config.php.example index 6520aaa..7069536 100644 --- a/config.php.example +++ b/config.php.example @@ -21,6 +21,9 @@ if($link === false){ die("ERROR: Could not connect. " . mysqli_connect_error()); } +require("/usr/share/php/libphp-phpmailer/autoload.php"); +use PHPMailer\PHPMailer\PHPMailer; +use PHPMailer\PHPMailer\SMTP; $mailer = new PHPMailer(); $mailer->isSMTP(); $mailer->SMTPDebug = SMTP::DEBUG_SERVER; |