Initial commit with Symfony 2.1+Vendors
Signed-off-by: Gergely POLONKAI (W00d5t0ck) <polesz@w00d5t0ck.info>
This commit is contained in:
27
vendor/swiftmailer/swiftmailer/lib/swift_required_pear.php
vendored
Normal file
27
vendor/swiftmailer/swiftmailer/lib/swift_required_pear.php
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<?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__) . '/Swift.php';
|
||||
|
||||
//Start the autoloader
|
||||
Swift::registerAutoload();
|
||||
|
||||
//Load the init script to set up dependency injection
|
||||
require dirname(__FILE__) . '/swift_init.php';
|
Reference in New Issue
Block a user