Commit 0f719c1c authored by Fabien Potencier's avatar Fabien Potencier

fixed Swiftmailer autoloader to be BC with the previous code

parent f74a9590
......@@ -73,9 +73,9 @@ class SwiftmailerExtension implements ExtensionInterface
});
if (isset($app['swiftmailer.class_path'])) {
require_once $app['swiftmailer.class_path'].'/classes/Swift.php';
require_once $app['swiftmailer.class_path'].'/Swift.php';
\Swift::registerAutoload($app['swiftmailer.class_path'].'/swift_init.php');
\Swift::registerAutoload($app['swiftmailer.class_path'].'/../swift_init.php');
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment