installer improvements

1) removed space in mail_from_name. Spaces in .env files cause problems on install.
2) if we are using Docker set some sane defaults
This commit is contained in:
Jeremy Quinton 2018-07-06 17:38:18 +02:00
parent 4dee2011f9
commit 3616050b94
2 changed files with 4 additions and 4 deletions

View File

@ -23,8 +23,8 @@ MAIL_DRIVER=smtp
MAIL_PORT=25
MAIL_ENCRYPTION=
MAIL_HOST=maildev
MAIL_FROM_ADDRESS="testing@attendize.com"
MAIL_FROM_NAME="testing service"
MAIL_FROM_ADDRESS=testing@attendize.com
MAIL_FROM_NAME=testing_service
MAIL_PASSWORD=
MAIL_USERNAME=

View File

@ -210,7 +210,7 @@
</div>
<div class="form-group">
{!! Form::label('mail_driver', trans("Installer.mail_from_address"), array('class'=>' control-label required')) !!}
{!! Form::text('mail_driver', Input::old('mail_driver'),
{!! Form::text('mail_driver', $value = env("MAIL_DRIVER"),
array(
'class'=>'form-control ',
'placeholder' => 'mail'
@ -222,7 +222,7 @@
<div class="form-group">
{!! Form::label('mail_port', trans("Installer.mail_port"), array('class'=>' control-label ')) !!}
{!! Form::text('mail_port', Input::old('mail_port'),
{!! Form::text('mail_port', $value = env("MAIL_PORT"),
array(
'class'=>'form-control'
)) !!}