We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2492d61 commit 12b53e3Copy full SHA for 12b53e3
src/QueryBuilderServiceProvider.php
@@ -8,7 +8,7 @@ class QueryBuilderServiceProvider extends ServiceProvider
8
{
9
public function boot()
10
11
- if ($this->app->runningInConsole()) {
+ if ($this->app->runningInConsole() && function_exists('config_path')) {
12
$this->publishes([
13
__DIR__.'/../config/query-builder.php' => config_path('query-builder.php'),
14
], 'config');
0 commit comments