fixed typo that caused 500 error

This commit is contained in:
Christian Haschek
2021-11-22 12:43:50 +01:00
parent b65186f77f
commit 99d9542b80

View File

@@ -29,7 +29,7 @@ else
function getInfoAboutHash($hash)
{
$file = ROOT.DS.'data'.DS.$hash.DS.$hash;
if(!$file_exists($file))
if(!file_exists($file))
return array('status'=>'err','reason'=>'File not found');
$size = filesize($file);
$size_hr = renderSize($size);