Skip to content

Commit f849676

Browse files
Roumen DamianoffRoumen Damianoff
Roumen Damianoff
authored and
Roumen Damianoff
committed
Merge pull request LaraPalCom#52 from Qballinternet/master
Fixed L5 config error
2 parents 9d973e9 + e72e8cf commit f849676

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Roumen/Sitemap/SitemapServiceProvider.php

+6-1
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,13 @@ public function boot()
2020
{
2121
$this->loadViewsFrom(__DIR__ . '/../../views', 'sitemap');
2222

23+
24+
$config_file = __DIR__ . '/../../config/config.php';
25+
26+
$this->mergeConfigFrom($config_file, 'sitemap');
27+
2328
$this->publishes([
24-
__DIR__ . '/../../config/config.php' => config_path('sitemap.php')
29+
$config_file => config_path('sitemap.php')
2530
], 'config');
2631

2732
$this->publishes([

0 commit comments

Comments
 (0)