TYPO3  7.6
swift_init.php
Go to the documentation of this file.
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 
11 /*
12  * Dependency injection initialization for Swift Mailer.
13  */
14 
15 if (defined('SWIFT_INIT_LOADED')) {
16  return;
17 }
18 
19 define('SWIFT_INIT_LOADED', true);
20 
21 // Load in dependency maps
22 require dirname(__FILE__).'/dependency_maps/cache_deps.php';
23 require dirname(__FILE__).'/dependency_maps/mime_deps.php';
24 require dirname(__FILE__).'/dependency_maps/message_deps.php';
25 require dirname(__FILE__).'/dependency_maps/transport_deps.php';
26 
27 // Load in global library preferences
28 require dirname(__FILE__).'/preferences.php';