TYPO3
7.6
Users
bogdan
Projects
Kapeli
Resources
Dash
Docsets
TYPO3
src
vendor
swiftmailer
swiftmailer
lib
swift_required.php
Go to the documentation of this file.
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
* Autoloader and dependency injection initialization for Swift Mailer.
13
*/
14
15
if
(class_exists(
'Swift'
,
false
)) {
16
return
;
17
}
18
19
// Load Swift utility class
20
require dirname(__FILE__).
'/classes/Swift.php'
;
21
22
if
(!function_exists(
'_swiftmailer_init'
)) {
23
function
_swiftmailer_init()
24
{
25
require dirname(__FILE__).
'/swift_init.php'
;
26
}
27
}
28
29
// Start the autoloader and lazy-load the init script to set up dependency injection
30
Swift::registerAutoload
(
'_swiftmailer_init'
);
Generated on Wed Nov 11 2015 01:52:04 for TYPO3 by
1.8.3