You've already forked laravel-mail
Adding config folder
This commit is contained in:
7
config/services.php
Normal file
7
config/services.php
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
'bmail' => env('BMAIL_KEY', null)
|
||||||
|
|
||||||
|
];
|
||||||
@@ -16,8 +16,8 @@ class BMailServiceProvider extends ServiceProvider
|
|||||||
public function register()
|
public function register()
|
||||||
{
|
{
|
||||||
$this->mergeConfigFrom(
|
$this->mergeConfigFrom(
|
||||||
__DIR__.'/../../../config/services.php',
|
__DIR__.'/../config/services.php',
|
||||||
'bmail'
|
'services'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -29,7 +29,7 @@ class BMailServiceProvider extends ServiceProvider
|
|||||||
public function boot()
|
public function boot()
|
||||||
{
|
{
|
||||||
$this->publishes([
|
$this->publishes([
|
||||||
__DIR__.'/../../../config/services.php' => config_path('services.php')
|
__DIR__.'/../config/services.php' => config_path('services.php')
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user