Revert constants removal changes

This commit is contained in:
DariusIII
2020-03-26 17:44:45 +01:00
parent cf5b1e666b
commit 7592fa9beb
45 changed files with 180 additions and 70 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) !== '/') {
$path .= '/';
if (substr($path, \strlen($path) - 1) !== DS) {
$path .= DS;
}
// Get the files from the user specified path.