[fix] bad path for filesize

This commit is contained in:
Knah Tsaeb 2015-05-26 16:33:05 +02:00
parent ad22b450f8
commit 438588d704

View file

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