mirror of
https://github.com/standardebooks/web.git
synced 2025-07-15 10:56:46 -04:00
Change secrets from being stored in flat files to being stored in PHP INI configuration
This commit is contained in:
parent
9d36a7c013
commit
0875e697b4
10 changed files with 24 additions and 32 deletions
|
@ -5,8 +5,6 @@ use PHPMailer\PHPMailer\Exception;
|
|||
use function Safe\define;
|
||||
use function Safe\file_get_contents;
|
||||
|
||||
define('EMAIL_SMTP_USERNAME', trim(file_get_contents(POSTMARK_SECRET_FILE_PATH)));
|
||||
|
||||
class Email{
|
||||
public $To = '';
|
||||
public $From = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue