Skip to content

Commit

Permalink
Fix webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael committed Jun 13, 2024
1 parent bc299f7 commit 7c41ba8
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions ecomailemailmarketing/.htaccess
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# Apache 2.2
<IfModule !mod_authz_core.c>
<Files *.php>
order allow,deny
deny from all
</Files>
<FilesMatch !webhook\.php$>
order allow,deny
deny from all
</FilesMatch>
</IfModule>

# Apache 2.4
<IfModule mod_authz_core.c>
<Files *.php>
Require all denied
</Files>
<FilesMatch !webhook\.php$>
Require all denied
</FilesMatch>
</IfModule>
10 changes: 5 additions & 5 deletions ecomailemailmarketing/ecomailemailmarketing.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct()
$this->module_key = '3c90ebaffe6722aece11c7a66bc18bec';
$this->name = 'ecomailemailmarketing';
$this->tab = 'emailing';
$this->version = '2.0.15';
$this->version = '2.0.16';
$this->author = 'Ecomail';
$this->need_instance = 0;
$this->ps_versions_compliancy = ['min' => '1.7.0.0', 'max' => _PS_VERSION_];
Expand Down Expand Up @@ -478,10 +478,10 @@ public function displayForm(): string
$helper->submit_action = 'submit' . $this->name;
$helper->toolbar_btn = [
'save' => [
'desc' => $this->l('Save'),
'href' => AdminController::$currentIndex . '&configure=' . $this->name . '&save' . $this->name
. '&token=' . Tools::getAdminTokenLite('AdminModules'),
],
'desc' => $this->l('Save'),
'href' => AdminController::$currentIndex . '&configure=' . $this->name . '&save' . $this->name
. '&token=' . Tools::getAdminTokenLite('AdminModules'),
],
'back' => [
'href' => AdminController::$currentIndex . '&token=' . Tools::getAdminTokenLite('AdminModules'),
'desc' => $this->l('Back to list'),
Expand Down

0 comments on commit 7c41ba8

Please sign in to comment.