mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Replace custom path constants with laravel defined paths
This commit is contained in:
@@ -25,7 +25,7 @@ if ($row !== null) {
|
||||
} else {
|
||||
exit("Unable to set Covers' constant!\n");
|
||||
}
|
||||
$path2covers = NN_COVERS.'games'.DS;
|
||||
$path2covers = storage_path('covers/games/');
|
||||
|
||||
$itr = File::allFiles($path2covers);
|
||||
foreach ($itr as $filePath) {
|
||||
|
||||
Reference in New Issue
Block a user