swift_required.php 632 B

12345678910111213141516171819202122
  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. require __DIR__.'/classes/Swift.php';
  10. Swift::registerAutoload(function () {
  11. // Load in dependency maps
  12. require __DIR__.'/dependency_maps/cache_deps.php';
  13. require __DIR__.'/dependency_maps/mime_deps.php';
  14. require __DIR__.'/dependency_maps/message_deps.php';
  15. require __DIR__.'/dependency_maps/transport_deps.php';
  16. // Load in global library preferences
  17. require __DIR__.'/preferences.php';
  18. });