Skip to content

Commit

Permalink
Mail: bad registering of the provider
Browse files Browse the repository at this point in the history
  • Loading branch information
mikaelkael committed Dec 14, 2015
1 parent cb7f0a5 commit 0b9dbce
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/bootstrap.php
Expand Up @@ -137,10 +137,10 @@
// *******
// ** Mail
// *******
$app->register(new SwiftmailerServiceProvider(array(
$app->register(new SwiftmailerServiceProvider(), array(
'swiftmailer.options' => $app['mail.options'],
'swiftmailer.class_path' => __DIR__.'/../vendor/SwiftMailer/lib/classes/',
)));
));
// *******

// *******
Expand Down
2 changes: 1 addition & 1 deletion app/config.php.dist
Expand Up @@ -34,7 +34,7 @@ $app['db.options'] = array(
// *******
// @see http://silex.sensiolabs.org/doc/providers/swiftmailer.html#parameters
// SMTP Transport
$app['swiftmailer.options'] = array(
$app['mail.options'] = array(
'host' => 'localhost',
'port' => '25',
'username' => '',
Expand Down

0 comments on commit 0b9dbce

Please sign in to comment.