Fix couple of issues related to constants changes

This commit is contained in:
DariusIII
2020-03-22 22:31:12 +01:00
parent ac87ecf720
commit 5bca7d97e3
5 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -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.