Skip to content

Commit

Permalink
Merge pull request #30 from Progi1984/fix175x
Browse files Browse the repository at this point in the history
Fixed autoload on PS 1.7.5.x (and before)
  • Loading branch information
matthieu-rolland authored Oct 3, 2019
2 parents 49b7bf8 + 83dd876 commit 15ede5f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions blockreassurance.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@
exit;
}

$autoloadPath = __DIR__ . '/vendor/autoload.php';
if (file_exists($autoloadPath)) {
require_once $autoloadPath;
}

use PrestaShop\PrestaShop\Core\Module\WidgetInterface;

class blockreassurance extends Module implements WidgetInterface
Expand Down

0 comments on commit 15ede5f

Please sign in to comment.