Skip to content

Commit

Permalink
Fix lang_path backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
orkhanahmadov committed Feb 28, 2023
1 parent 109130c commit 859902e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
],
"require": {
"php": "^8.0",
"guzzlehttp/guzzle": "^7.0",
"guzzlehttp/guzzle": "^6.0|^7.0",
"illuminate/console": "^8.0|^9.0|^10.0",
"illuminate/contracts": "^8.0|^9.0|^10.0",
"illuminate/http": "^8.0|^9.0|^10.0",
Expand Down
2 changes: 1 addition & 1 deletion src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
if (! function_exists('lang_path')) {
function lang_path(string $path = ''): string
{
return resource_path($path);
return resource_path("lang/{$path}");
}
}

0 comments on commit 859902e

Please sign in to comment.