[fix] bad path for filesize

This commit is contained in:
Knah Tsaeb 2015-05-26 16:33:05 +02:00
parent ad22b450f8
commit 438588d704
1 changed files with 2 additions and 2 deletions

View File

@ -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>';
}
?>
?>