swift_init.php 733B

1234567891011121314151617181920212223242526272829
  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 dirname(__FILE__) . '/dependency_maps/cache_deps.php';
  18. require dirname(__FILE__) . '/dependency_maps/mime_deps.php';
  19. require dirname(__FILE__) . '/dependency_maps/message_deps.php';
  20. require dirname(__FILE__) . '/dependency_maps/transport_deps.php';
  21. //Load in global library preferences
  22. require dirname(__FILE__) . '/preferences.php';