dolibarr/htdocs/includes/swiftmailer/lib/swift_required.php

23 lines
632 B
PHP
Raw Normal View History

2016-04-16 18:15:03 +02:00
<?php
/*
* This file is part of SwiftMailer.
* (c) 2004-2009 Chris Corbyn
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
2018-01-21 15:55:56 +01:00
require __DIR__.'/classes/Swift.php';
2016-04-16 18:15:03 +02:00
2018-01-21 15:55:56 +01:00
Swift::registerAutoload(function () {
// Load in dependency maps
require __DIR__.'/dependency_maps/cache_deps.php';
require __DIR__.'/dependency_maps/mime_deps.php';
require __DIR__.'/dependency_maps/message_deps.php';
require __DIR__.'/dependency_maps/transport_deps.php';
2016-04-16 18:15:03 +02:00
2018-01-21 15:55:56 +01:00
// Load in global library preferences
require __DIR__.'/preferences.php';
});