forked from Wavyzz/dolibarr
Add Swift Mailer to send mails
This commit is contained in:
28
htdocs/includes/swiftmailer/lib/swift_init.php
Normal file
28
htdocs/includes/swiftmailer/lib/swift_init.php
Normal file
@@ -0,0 +1,28 @@
|
||||
<?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';
|
||||
Reference in New Issue
Block a user