diff options
| author | Remi Collet <remi@remirepo.net> | 2025-10-16 08:09:21 +0200 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2025-10-16 08:09:21 +0200 |
| commit | 5403a7e9b38a83bb830d1a7a608f7133f5ce9991 (patch) | |
| tree | 16e79375200990e1e464fd32d42a39dfb3af77c6 /php-phpmailer7-layout.patch | |
dup v6
Diffstat (limited to 'php-phpmailer7-layout.patch')
| -rw-r--r-- | php-phpmailer7-layout.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/php-phpmailer7-layout.patch b/php-phpmailer7-layout.patch new file mode 100644 index 0000000..b23da87 --- /dev/null +++ b/php-phpmailer7-layout.patch @@ -0,0 +1,11 @@ +diff -up ./src/PHPMailer.php.rpm ./src/PHPMailer.php +--- ./src/PHPMailer.php.rpm 2021-09-01 12:46:30.267656729 +0200 ++++ ./src/PHPMailer.php 2021-09-01 12:47:43.003485872 +0200 +@@ -2253,6 +2253,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 |
