flyhopeSSL env MailerSend
This commit is contained in:
13
php/php-dog/classes/CMailerSendMailer.php
Normal file
13
php/php-dog/classes/CMailerSendMailer.php
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
use PHPMailer\PHPMailer\PHPMailer;
|
||||
use PHPMailer\PHPMailer\SMTP;
|
||||
use PHPMailer\PHPMailer\Exception;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
class CMailerSendMailer extends PHPMailer
|
||||
{
|
||||
}
|
||||
?>
|
||||
@ -11,10 +11,10 @@ class Database
|
||||
|
||||
/// netcup server
|
||||
/// name of the docker container
|
||||
private $db_host = 'mysql';
|
||||
private $db_name = 'dog';
|
||||
private $db_username = 'user_dog';
|
||||
private $db_password = 'X0pEiBsXN3RLazGhQVvP';
|
||||
private $db_host = getenv('DB_HOST');
|
||||
private $db_name = getenv('DB_NAME');
|
||||
private $db_username = getenv('DB_USER');
|
||||
private $db_password = getenv('DB_PW');
|
||||
|
||||
public function dbConnection()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user