File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -254,6 +254,8 @@ public function getDirectories($path)
254254 if ($ directory_name !== $ thumb_folder_name ) {
255255 $ arr_dir [] = (object )[
256256 'name ' => $ directory_name ,
257+ 'url ' => '' ,
258+ 'size ' => '' ,
257259 'updated ' => filemtime ($ directory ),
258260 'path ' => $ this ->getInternalPath ($ directory ),
259261 'time ' => date ("Y-m-d h:m " , filemtime ($ directory )),
@@ -300,6 +302,7 @@ public function getFilesWithInfo($path)
300302 'url ' => $ this ->getFileUrl ($ file_name ),
301303 'size ' => $ this ->humanFilesize (File::size ($ file )),
302304 'updated ' => filemtime ($ file ),
305+ 'path ' => '' ,
303306 'time ' => date ("Y-m-d h:m " , filemtime ($ file )),
304307 'type ' => $ file_type ,
305308 'icon ' => $ icon ,
Original file line number Diff line number Diff line change 66 <div class =" col-xs-6 col-sm-4 col-md-3 col-lg-2 img-row" >
77 <?php $item_name = $item -> name ; ? >
88 <?php $thumb_src = $item -> thumb ; ? >
9- <?php $folder_path = $item -> path ?? ' ' ; ? >
9+ <?php $folder_path = $item -> path ; ? >
1010
1111 @if ($item -> is_file )
1212 <div class =" thumbnail clickable" onclick =" useFile('{{ $item_name } } ')" >
Original file line number Diff line number Diff line change 2020 {{ str_limit ($item -> name , $limit = 20 , $end = ' ...' ) } }
2121 </a >
2222 </td >
23- <td >{{ $item -> size ?? ' ' } } </td >
23+ <td >{{ $item -> size } } </td >
2424 <td >{{ $item -> type } } </td >
2525 <td >{{ $item -> time } } </td >
2626 <td >
You can’t perform that action at this time.
0 commit comments