From 99d9542b80bb71a60801b0a439951166238b3b3c Mon Sep 17 00:00:00 2001 From: Christian Haschek Date: Mon, 22 Nov 2021 12:43:50 +0100 Subject: [PATCH] fixed typo that caused 500 error --- api/info.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);