mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:01:24 +00:00
Replace custom path constants with laravel defined paths
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user