diff --git a/api/info.php b/api/info.php index 6de4bb6..5014d19 100644 --- a/api/info.php +++ b/api/info.php @@ -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);