vendor/swiftmailer/lib/swift_required.php
author ymh <ymh.work@gmail.com>
Thu, 06 Oct 2011 00:03:30 +0200
changeset 6 7ee9260b8c0e
parent 0 7f95f8617b0b
permissions -rwxr-xr-x
addd subrepository + new bundle

<?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.
 */

/*
 * Autoloader and dependency injection initialization for Swift Mailer.
 */

if (defined('SWIFT_REQUIRED_LOADED'))
	return;

define('SWIFT_REQUIRED_LOADED', true);

//Load Swift utility class
require dirname(__FILE__) . '/classes/Swift.php';

//Start the autoloader
Swift::registerAutoload();

//Load the init script to set up dependency injection
require dirname(__FILE__) . '/swift_init.php';