CLI
This commit is contained in:
@ -1,16 +1,5 @@
|
||||
<?php
|
||||
return [
|
||||
'email' => function() {
|
||||
$data = [
|
||||
'host' => $_ENV['EMAIL_HOST'],
|
||||
'username' => $_ENV['EMAIL_USERNAME'],
|
||||
'password' => $_ENV['EMAIL_PASSWORD'],
|
||||
'folder' => $_ENV['EMAIL_FOLDER'],
|
||||
'attachments' => $_ENV['ATTACHMENTS_FOLDER'],
|
||||
];
|
||||
if (isset($_ENV['EMAIL_PORT'])) {
|
||||
$data['port'] = $_ENV['EMAIL_PORT'];
|
||||
}
|
||||
return json_decode(json_encode($data));
|
||||
}
|
||||
'api_uri' => $_ENV['API_URI'],
|
||||
'api_key' => sha1($_ENV['API_KEY'])
|
||||
];
|
||||
|
Reference in New Issue
Block a user