Skip to content

Commit d91daf2

Browse files
author
Jovert Lota Palonpon
committed
Fixed _asset helper error
1 parent 41c3b32 commit d91daf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/Utils/Helper.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
function _asset(string $subPath) : string
1414
{
15-
$assets = json_decode(file_get_contents('assets.json'), true);
15+
$assets = json_decode(@file_get_contents('assets.json'), true);
1616

1717
return $assets[$subPath] ?? '';
1818
}

0 commit comments

Comments
 (0)