Skip to content

Commit

Permalink
Update the language directory path (PHPMailer#1639)
Browse files Browse the repository at this point in the history
  • Loading branch information
shoko93 authored and Synchro committed Feb 1, 2019
1 parent e134a40 commit 7582514
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/PHPMailerLangTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function testTranslations()
$this->Mail->setLanguage('en');
$definedStrings = $this->Mail->getTranslations();
$err = '';
foreach (new \DirectoryIterator('../language') as $fileInfo) {
foreach (new \DirectoryIterator(__DIR__ . '/../language') as $fileInfo) {
if ($fileInfo->isDot()) {
continue;
}
Expand Down

0 comments on commit 7582514

Please sign in to comment.