Skip to content

Commit

Permalink
Merge pull request #10 from carlos-mg89/feature-fix-library-path-getter
Browse files Browse the repository at this point in the history
Changed the method to obtain the library Path
  • Loading branch information
carlos-mg89 authored Dec 9, 2020
2 parents 9372d5d + 03cef19 commit 28aeb20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Support/LibraryLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function load()
*/
private function loadBotDetectLibrary()
{
$libPath = Path::getCaptchaLibPath($this->container);
$libPath = Path::getDefaultLibPackageDirPath();

if (!self::isLibraryFound($libPath)) {
throw new FileNotFoundException(sprintf('The BotDetect Captcha library could not be found in %s.', $libPath));
Expand Down

0 comments on commit 28aeb20

Please sign in to comment.