We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 772c54c commit d00ee78Copy full SHA for d00ee78
src/WalletServiceProvider.php
@@ -24,9 +24,11 @@ public function boot(): void
24
return;
25
}
26
27
- $this->publishes([
28
- \dirname(__DIR__) . '/config/config.php' => config_path('wallet.php'),
29
- ], 'laravel-wallet-config');
+ if (\function_exists('config_path')) {
+ $this->publishes([
+ \dirname(__DIR__) . '/config/config.php' => config_path('wallet.php'),
30
+ ], 'laravel-wallet-config');
31
+ }
32
33
$this->publishes([
34
\dirname(__DIR__) . '/database/migrations_v1/' => database_path('migrations'),
0 commit comments