Added back .env variables #787

This commit is contained in:
Hillel Coren 2016-03-27 17:39:26 +03:00
parent 9d3f7575d6
commit 7a929a51bb

View File

@ -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) {