swift_init.php 726B

12345678910111213141516171819202122232425262728
  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. define('SWIFT_INIT_LOADED', true);
  15. //Load in dependency maps
  16. require dirname(__FILE__) . '/dependency_maps/cache_deps.php';
  17. require dirname(__FILE__) . '/dependency_maps/mime_deps.php';
  18. require dirname(__FILE__) . '/dependency_maps/message_deps.php';
  19. require dirname(__FILE__) . '/dependency_maps/transport_deps.php';
  20. //Load in global library preferences
  21. require dirname(__FILE__) . '/preferences.php';