We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb321dd commit fee376aCopy full SHA for fee376a
src/GeocoderServiceProvider.php
@@ -10,7 +10,7 @@ class GeocoderServiceProvider extends ServiceProvider
10
public function boot()
11
{
12
$this->publishes([
13
- __DIR__.'/../config/geocoder.php' => config_path('geocoder.php'),
+ __DIR__.'/../config/geocoder.php' => $this->config_path('geocoder.php'),
14
], 'config');
15
}
16
@@ -26,4 +26,9 @@ public function register()
26
->setBounds(config('geocoder.bounds'));
27
});
28
29
+
30
+ function config_path($path = '')
31
+ {
32
+ return app()->basePath() . '/config' . ($path ? '/' . $path : $path);
33
+ }
34
0 commit comments