We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ee8c0bb commit bfffc50Copy full SHA for bfffc50
src/ParseServiceProvider.php
@@ -45,7 +45,7 @@ protected function setupConfig(Application $app)
45
{
46
$source = realpath(__DIR__.'/../config/parse.php');
47
48
- if (class_exists('Illuminate\Foundation\Application', false)) {
+ if (class_exists('Illuminate\Foundation\Application', false) && $app->runningInConsole()) {
49
$this->publishes([$source => config_path('parse.php')]);
50
} elseif (class_exists('Laravel\Lumen\Application', false)) {
51
$app->configure('parse');
0 commit comments