blob: 1d287f38caecea12e590c615ca600e944cef5a90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -up ./src/PHPMailer.php.rpm ./src/PHPMailer.php
--- ./src/PHPMailer.php.rpm 2018-03-27 14:01:40.736223588 +0200
+++ ./src/PHPMailer.php 2018-03-27 14:02:31.291471961 +0200
@@ -1994,7 +1994,7 @@ class PHPMailer
];
if (empty($lang_path)) {
// Calculate an absolute path so it can work if CWD is not here
- $lang_path = dirname(__DIR__) . DIRECTORY_SEPARATOR . 'language' . DIRECTORY_SEPARATOR;
+ $lang_path = __DIR__ . DIRECTORY_SEPARATOR . 'language' . DIRECTORY_SEPARATOR;
}
//Validate $langcode
if (!preg_match('/^[a-z]{2}(?:_[a-zA-Z]{2})?$/', $langcode)) {
|