We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c1f4bb commit 208f099Copy full SHA for 208f099
src/OmnipayServiceProvider.php
@@ -27,8 +27,6 @@ public function boot()
27
$this->loadMigrationsFrom(__DIR__.'/Databases/migrations');
28
// 加载配置
29
$this->mergeConfigFrom(__DIR__.'/Config/laravel-omnipay.php', 'laravel-omnipay');
30
- $this->mergeConfigFrom(__DIR__.'/Config/config.php', 'omnipay');
31
- $this->initService();
32
}
33
34
/**
@@ -38,13 +36,15 @@ public function boot()
38
36
*/
39
37
public function register()
40
{
41
-
+ $this->initService();
42
43
44
* 初始化服务
45
46
public function initService()
47
+
+ $this->mergeConfigFrom(__DIR__.'/Config/config.php', 'omnipay');
48
//注册providers服务
49
$this->registerProviders();
50
0 commit comments