broken game thumb check
This commit is contained in:
parent
b9c75dda17
commit
db0ba6d050
|
|
@ -4954,6 +4954,11 @@ function handleGameThumb($id)
|
||||||
$thumbhash = $placeinfo->ThumbHash;
|
$thumbhash = $placeinfo->ThumbHash;
|
||||||
if ($thumbhash)
|
if ($thumbhash)
|
||||||
{
|
{
|
||||||
|
//broken check
|
||||||
|
if (!file_get_contents($GLOBALS['renderCDNPath'].$thumbhash))
|
||||||
|
{
|
||||||
|
return getImageFromAsset(4);
|
||||||
|
}
|
||||||
return constructRenderHashUrl($thumbhash);
|
return constructRenderHashUrl($thumbhash);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue