MPOS/php-mpos

View on GitHub
include/lib/swiftmailer/swift_init.php

Summary

Maintainability
A
0 mins
Test Coverage
<?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.
 */

/*
 * Dependency injection initialization for Swift Mailer.
 */

if (defined('SWIFT_INIT_LOADED')) {
    return;
}

define('SWIFT_INIT_LOADED', true);

// Load in dependency maps
require dirname(__FILE__) . '/dependency_maps/cache_deps.php';
require dirname(__FILE__) . '/dependency_maps/mime_deps.php';
require dirname(__FILE__) . '/dependency_maps/message_deps.php';
require dirname(__FILE__) . '/dependency_maps/transport_deps.php';

// Load in global library preferences
require dirname(__FILE__) . '/preferences.php';