Fix playback file path
This commit is contained in:
parent
52332c250b
commit
3c21047c15
@ -169,7 +169,7 @@ class AcarsReplay extends Command
|
|||||||
* @var $flights Collection
|
* @var $flights Collection
|
||||||
*/
|
*/
|
||||||
$flights = collect($files)->transform(function ($f) {
|
$flights = collect($files)->transform(function ($f) {
|
||||||
$file = storage_path('/replay/'.$f.'.json');
|
$file = $f;
|
||||||
if (file_exists($file)) {
|
if (file_exists($file)) {
|
||||||
$this->info('Loading '.$file);
|
$this->info('Loading '.$file);
|
||||||
$contents = file_get_contents($file);
|
$contents = file_get_contents($file);
|
||||||
|
Loading…
Reference in New Issue
Block a user