mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-09-02 19:28:55 +00:00
Fix nzb-import path check
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user