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