Skip to content

Commit

Permalink
fix: autoload load (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
fox-john authored Aug 26, 2024
1 parent 5deff79 commit e982162
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ps_eventbus.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@
exit;
}

require_once __DIR__ . '/vendor/autoload.php';

class Ps_eventbus extends Module
{
/**
Expand Down Expand Up @@ -218,6 +216,8 @@ public function __construct()
return;
}

require_once __DIR__ . '/vendor/autoload.php';

if ($this->context->shop === null) {
throw new PrestaShopException('No shop context');
}
Expand Down

0 comments on commit e982162

Please sign in to comment.