diff --git a/inc/content.php b/inc/content.php index 00ca026..639d5be 100644 --- a/inc/content.php +++ b/inc/content.php @@ -300,7 +300,7 @@ if (!empty($ci['ac']) && $ci['ac'] === 'view' && !empty($listCurrentFile)) { Size - ', humanFilesize(filesize($videoInfo['hash'].'.webm')), ' + ', humanFilesize(filesize($_SERVER["DOCUMENT_ROOT"].$path.$videoInfo['hash'].'.webm')), ' Publish date ', date("d m Y", strtotime($videoInfo['uploadDate'])), ' @@ -326,4 +326,4 @@ if (!empty($ci['ac']) && $ci['ac'] === 'view' && !empty($listCurrentFile)) { '; } -?> \ No newline at end of file +?>