Skip to content

Commit

Permalink
Fix iso currencies path (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza authored Jan 3, 2025
1 parent bf0772f commit fdca65e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
'defaultCurrency' => config('app.currency', 'USD'),
'defaultFormatter' => null,
'defaultSerializer' => null,
'isoCurrenciesPath' => __DIR__.'/../vendor/moneyphp/money/resources/currency.php',
'isoCurrenciesPath' => is_dir(__DIR__.'/../vendor')
? __DIR__.'/../vendor/moneyphp/money/resources/currency.php'
: __DIR__.'/../../../moneyphp/money/resources/currency.php',
'currencies' => [
'iso' => 'all',
'bitcoin' => 'all',
Expand Down

0 comments on commit fdca65e

Please sign in to comment.