mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-11 18:56:21 +00:00
fixed typo that caused 500 error
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user