Skip to content

Commit

Permalink
Fixed _asset helper error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jovert Lota Palonpon committed Mar 28, 2019
1 parent 41c3b32 commit d91daf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Utils/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
function _asset(string $subPath) : string
{
$assets = json_decode(file_get_contents('assets.json'), true);
$assets = json_decode(@file_get_contents('assets.json'), true);

return $assets[$subPath] ?? '';
}
Expand Down

0 comments on commit d91daf2

Please sign in to comment.