Skip to content

Commit

Permalink
Update Factory.php
Browse files Browse the repository at this point in the history
  • Loading branch information
deva7mad authored Nov 6, 2018
1 parent bac61a1 commit 895f563
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Configs/Factory.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) : [];

Expand All @@ -27,4 +27,4 @@ public function getFromConfigFile()

}

}
}

0 comments on commit 895f563

Please sign in to comment.