Fix nzb-import path check

This commit is contained in:
DariusIII
2023-03-29 01:56:55 +02:00
parent be4cfa3cb0
commit 40a855c511
+2 -2
View File
@@ -44,8 +44,8 @@ if ($argv[5] < 0) {
$path = $argv[1];
// Check if path ends with dir separator.
if (substr($path, -1) !== DS) {
$path .= DS;
if (! Str::endsWith($path, '/')) {
$path .= '/';
}
$files = new \RegexIterator(