From 438588d704a0d315c48f254312eed985f9aa93f3 Mon Sep 17 00:00:00 2001 From: Knah Tsaeb Date: Tue, 26 May 2015 16:33:05 +0200 Subject: [PATCH] [fix] bad path for filesize --- inc/content.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 +?>