mirror of
https://github.com/HaschekSolutions/pictshare.git
synced 2025-11-13 11:46:20 +00:00
fixed typo that caused 500 error
This commit is contained in:
@@ -29,7 +29,7 @@ else
|
|||||||
function getInfoAboutHash($hash)
|
function getInfoAboutHash($hash)
|
||||||
{
|
{
|
||||||
$file = ROOT.DS.'data'.DS.$hash.DS.$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');
|
return array('status'=>'err','reason'=>'File not found');
|
||||||
$size = filesize($file);
|
$size = filesize($file);
|
||||||
$size_hr = renderSize($size);
|
$size_hr = renderSize($size);
|
||||||
|
|||||||
Reference in New Issue
Block a user