Replace custom path constants with laravel defined paths

This commit is contained in:
DariusIII
2023-03-28 16:56:23 +02:00
parent 4078b58a9f
commit 766a07b1e2
29 changed files with 33 additions and 95 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ if ($row !== null) {
} else {
exit("Unable to set Covers' constant!\n");
}
$path2covers = NN_COVERS.'movies'.DS;
$path2covers = storage_path('covers/movies');
$itr = File::allFiles($path2covers);
foreach ($itr as $filePath) {