-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfopsecurity.php
41 lines (38 loc) · 1.33 KB
/
fopsecurity.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* Copyright (c) Since 2020 Friends of Presta
*
* NOTICE OF LICENSE
*
* This source file is subject to the Academic Free License (AFL 3.0)
* that is bundled with this package in the file docs/licenses/LICENSE.txt.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/afl-3.0.php
* If you did not receive a copy of the license and are unable to
* obtain it through the world-wide-web, please send an email
* to [email protected] so we can send you a copy immediately.
*
* @author Friends of Presta <[email protected]>
* @copyright since 2020 Friends of Presta
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License ("AFL") v. 3.0
*/
class FopSecurity extends Module
{
public function __construct()
{
$this->name = 'fopsecurity';
$this->version = '1.0.0';
$this->author = 'Friends of Presta';
parent::__construct();
$this->displayName = 'FoP Security';
$this->description = $this->l('Set of tools to secure your PrestaShop.');
$this->ps_versions_compliancy = [
'min' => '1.6.1.0',
'max' => _PS_VERSION_,
];
}
public function getContent()
{
Tools::redirectAdmin($this->context->link->getAdminLink('AdminFopSecurityConfiguration'));
}
}