vendor/swiftmailer/swiftmailer/lib/swift_init.php line 28

Open in your IDE?
  1. <?php
  2. /*
  3.  * This file is part of SwiftMailer.
  4.  * (c) 2004-2009 Chris Corbyn
  5.  *
  6.  * For the full copyright and license information, please view the LICENSE
  7.  * file that was distributed with this source code.
  8.  */
  9. /*
  10.  * Dependency injection initialization for Swift Mailer.
  11.  */
  12. if (defined('SWIFT_INIT_LOADED')) {
  13.     return;
  14. }
  15. define('SWIFT_INIT_LOADED'true);
  16. // Load in dependency maps
  17. require __DIR__.'/dependency_maps/cache_deps.php';
  18. require __DIR__.'/dependency_maps/mime_deps.php';
  19. require __DIR__.'/dependency_maps/message_deps.php';
  20. require __DIR__.'/dependency_maps/transport_deps.php';
  21. // Load in global library preferences
  22. require __DIR__.'/preferences.php';