[fix] bad path for filesize
This commit is contained in:
parent
ad22b450f8
commit
438588d704
|
@ -300,7 +300,7 @@ if (!empty($ci['ac']) && $ci['ac'] === 'view' && !empty($listCurrentFile)) {
|
|||
<tr>
|
||||
<tr>
|
||||
<th>Size</th>
|
||||
<td>', humanFilesize(filesize($videoInfo['hash'].'.webm')), '</td>
|
||||
<td>', humanFilesize(filesize($_SERVER["DOCUMENT_ROOT"].$path.$videoInfo['hash'].'.webm')), '</td>
|
||||
<tr>
|
||||
<th>Publish date</th>
|
||||
<td>', date("d m Y", strtotime($videoInfo['uploadDate'])), '</td>
|
||||
|
@ -326,4 +326,4 @@ if (!empty($ci['ac']) && $ci['ac'] === 'view' && !empty($listCurrentFile)) {
|
|||
</table>
|
||||
</div>';
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue