[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>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Size</th>
|
<th>Size</th>
|
||||||
<td>', humanFilesize(filesize($videoInfo['hash'].'.webm')), '</td>
|
<td>', humanFilesize(filesize($_SERVER["DOCUMENT_ROOT"].$path.$videoInfo['hash'].'.webm')), '</td>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Publish date</th>
|
<th>Publish date</th>
|
||||||
<td>', date("d m Y", strtotime($videoInfo['uploadDate'])), '</td>
|
<td>', date("d m Y", strtotime($videoInfo['uploadDate'])), '</td>
|
||||||
|
@ -326,4 +326,4 @@ if (!empty($ci['ac']) && $ci['ac'] === 'view' && !empty($listCurrentFile)) {
|
||||||
</table>
|
</table>
|
||||||
</div>';
|
</div>';
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue