From 83dd8768a92d465a4ce70231b00cb6ce4b3c33f1 Mon Sep 17 00:00:00 2001 From: Progi1984 Date: Thu, 3 Oct 2019 14:56:11 +0200 Subject: [PATCH 1/2] Fixed autoload on PS 1.7.5.x (and before) --- blockreassurance.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/blockreassurance.php b/blockreassurance.php index 1f6fbed9..584c2ef4 100644 --- a/blockreassurance.php +++ b/blockreassurance.php @@ -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 From 91fa8bacf92f57671da3450ec3a9a3eeb34d8c98 Mon Sep 17 00:00:00 2001 From: Progi1984 Date: Thu, 3 Oct 2019 16:31:05 +0200 Subject: [PATCH 2/2] Release 4.1.1 --- blockreassurance.php | 2 +- config.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blockreassurance.php b/blockreassurance.php index 584c2ef4..8b70ccf3 100644 --- a/blockreassurance.php +++ b/blockreassurance.php @@ -99,7 +99,7 @@ public function __construct() // Settings $this->name = 'blockreassurance'; $this->tab = 'seo'; - $this->version = '4.1.0'; + $this->version = '4.1.1'; $this->author = 'PrestaShop'; $this->need_instance = 0; $this->module_key = '938b96386d4d79aa7cb891439cb0ef11'; diff --git a/config.xml b/config.xml index d391cb7d..1246c9c1 100644 --- a/config.xml +++ b/config.xml @@ -2,7 +2,7 @@ blockreassurance - + 1