vendor/swiftmailer/lib/swift_init.php
changeset 0 7f95f8617b0b
equal deleted inserted replaced
-1:000000000000 0:7f95f8617b0b
       
     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 define('SWIFT_INIT_LOADED', true);
       
    19 
       
    20 //Load in dependency maps
       
    21 require dirname(__FILE__) . '/dependency_maps/cache_deps.php';
       
    22 require dirname(__FILE__) . '/dependency_maps/mime_deps.php';
       
    23 require dirname(__FILE__) . '/dependency_maps/message_deps.php';
       
    24 require dirname(__FILE__) . '/dependency_maps/transport_deps.php';
       
    25 
       
    26 //Load in global library preferences
       
    27 require dirname(__FILE__) . '/preferences.php';