Skip to content

Commit 63ab273

Browse files
authored
Merge pull request #37 from Crizz0/issue/36
Add extra FATAL Output for additional logo (site_logo.gif)
2 parents dee7d51 + ed47d6f commit 63ab273

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/Phpbb/TranslationValidator/Validator/FileListValidator.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,11 @@ public function validate()
201201
}
202202
$this->output->addMessage($level, 'Found additional file', $origin_file);
203203
}
204+
205+
if (substr($origin_file, -14) === '/site_logo.gif')
206+
{
207+
$this->output->addMessage(Output::FATAL, 'Found additional file', $origin_file);
208+
}
204209
}
205210
}
206211

0 commit comments

Comments
 (0)