Skip to content
This repository was archived by the owner on Jul 24, 2023. It is now read-only.

Commit b0b7131

Browse files
committed
Added config merging to service provider
1 parent 169fd6e commit b0b7131

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/AdldapServiceProvider.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,12 @@ class AdldapServiceProvider extends ServiceProvider
2020
*/
2121
public function boot()
2222
{
23+
$config = __DIR__.'/Config/config.php';
24+
25+
$this->mergeConfigFrom($config, 'adldap');
26+
2327
$this->publishes([
24-
__DIR__.'/Config/config.php' => config_path('adldap.php'),
28+
$config => config_path('adldap.php'),
2529
]);
2630
}
2731

0 commit comments

Comments
 (0)