mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 08:04:40 -04:00
Added back .env variables #787
This commit is contained in:
parent
9d3f7575d6
commit
7a929a51bb
@ -96,7 +96,10 @@ class AppController extends BaseController
|
|||||||
$_ENV['MAIL_PORT'] = $mail['port'];
|
$_ENV['MAIL_PORT'] = $mail['port'];
|
||||||
$_ENV['MAIL_ENCRYPTION'] = $mail['encryption'];
|
$_ENV['MAIL_ENCRYPTION'] = $mail['encryption'];
|
||||||
$_ENV['MAIL_HOST'] = $mail['host'];
|
$_ENV['MAIL_HOST'] = $mail['host'];
|
||||||
$_ENV['MAIL_USERNAME']=$mail['username'];;
|
$_ENV['MAIL_USERNAME'] = $mail['username'];
|
||||||
|
$_ENV['MAIL_FROM_NAME'] = $mail['from']['name'];
|
||||||
|
$_ENV['MAIL_PASSWORD'] = $mail['password'];
|
||||||
|
$_ENV['PHANTOMJS_CLOUD_KEY'] = 'a-demo-key-with-low-quota-per-ip-address';
|
||||||
|
|
||||||
$config = '';
|
$config = '';
|
||||||
foreach ($_ENV as $key => $val) {
|
foreach ($_ENV as $key => $val) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user