Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
50 | public function filemanager() |
||
51 | { |
||
52 | $uploadedFilePath = "sound-files/"; |
||
53 | $uploadfilesNames = collect(scandir($uploadedFilePath)); |
||
54 | |||
55 | $recordedFilePath = "sound-files/recordings/"; |
||
56 | $recordedfilesNames = collect(scandir($recordedFilePath)); |
||
57 | |||
58 | $data = [ |
||
59 | 'uploadfilesNames' => $uploadfilesNames, |
||
60 | 'recordedfilesNames' => $recordedfilesNames, |
||
61 | ]; |
||
62 | |||
63 | return view('pages.filemanager', $data); |
||
64 | } |
||
66 |