mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 09:18:54 +00:00
Fix couple of issues related to constants changes
This commit is contained in:
@@ -43,8 +43,8 @@ class NzbController extends BasePageController
|
||||
|
||||
// Get the path the user set in the browser if he put one.
|
||||
$path = ($request->has('folder') ? $request->input('folder') : '');
|
||||
if (substr($path, \strlen($path) - 1) !== DS) {
|
||||
$path .= DS;
|
||||
if (substr($path, \strlen($path) - 1) !== '/') {
|
||||
$path .= '/';
|
||||
}
|
||||
|
||||
// Get the files from the user specified path.
|
||||
|
||||
Reference in New Issue
Block a user