From 895f563a2b4ed1d78c90e6b612c1682a7810aa7e Mon Sep 17 00:00:00 2001 From: Just Geeky Date: Wed, 7 Nov 2018 01:38:25 +0200 Subject: [PATCH] Update Factory.php --- src/Configs/Factory.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Configs/Factory.php b/src/Configs/Factory.php index 43a3510..60f2cfc 100644 --- a/src/Configs/Factory.php +++ b/src/Configs/Factory.php @@ -13,9 +13,9 @@ public function make() public function getFromConfigFile() { - $configFile = __DIR__ .'/../../../../../../../config/cybersource.php'; + $configFile = config_path('cybersource.php'); - $defaultConfigs = require(__DIR__ . '/../../../config/config.php'); + $defaultConfigs = require(__DIR__.'/../../app/config/cybersource.php'); $userProvidedConfigs = is_file($configFile) ? require($configFile) : []; @@ -27,4 +27,4 @@ public function getFromConfigFile() } -} \ No newline at end of file +}