From e7e27226ce5edf709abb612796edb1f00955aa03 Mon Sep 17 00:00:00 2001 From: DaazKu Date: Wed, 31 Oct 2018 15:43:27 -0400 Subject: [PATCH] Replace config_path() by generic code --- src/ApiDocGeneratorServiceProvider.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ApiDocGeneratorServiceProvider.php b/src/ApiDocGeneratorServiceProvider.php index ccc92a65..82593643 100644 --- a/src/ApiDocGeneratorServiceProvider.php +++ b/src/ApiDocGeneratorServiceProvider.php @@ -22,7 +22,7 @@ public function boot() ], 'views'); $this->publishes([ - __DIR__.'/../config/apidoc.php' => config_path('apidoc.php'), + __DIR__.'/../config/apidoc.php' => app()->basePath().'/config/apidoc.php', ], 'config'); $this->mergeConfigFrom(__DIR__.'/../config/apidoc.php', 'apidoc');