forked from Wavyzz/dolibarr
swiftmailer
This commit is contained in:
@@ -16,8 +16,7 @@
|
||||
*/
|
||||
abstract class Swift
|
||||
{
|
||||
/** Swift Mailer Version number generated during dist release process */
|
||||
const VERSION = '@SWIFT_VERSION_NUMBER@';
|
||||
const VERSION = '6.0.2';
|
||||
|
||||
public static $initialized = false;
|
||||
public static $inits = array();
|
||||
@@ -47,7 +46,7 @@ abstract class Swift
|
||||
return;
|
||||
}
|
||||
|
||||
$path = dirname(__FILE__).'/'.str_replace('_', '/', $class).'.php';
|
||||
$path = __DIR__.'/'.str_replace('_', '/', $class).'.php';
|
||||
|
||||
if (!file_exists($path)) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user