-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathConstants.php
46 lines (38 loc) · 1.05 KB
/
Constants.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
42
43
44
45
46
<?php declare(strict_types=1);
/**
* CrowdSec_Bouncer Extension
*
* NOTICE OF LICENSE
*
* This source file is subject to the MIT LICENSE
* that is bundled with this package in the file LICENSE
*
* @category CrowdSec
* @package CrowdSec_Bouncer
* @copyright Copyright (c) 2021+ CrowdSec
* @author CrowdSec team
* @see https://crowdsec.net CrowdSec Official Website
* @license MIT LICENSE
*
*/
/**
*
* @category CrowdSec
* @package CrowdSec_Bouncer
* @module Bouncer
* @author CrowdSec team
*
*/
namespace CrowdSec\Bouncer;
use CrowdSecBouncer\Constants as LibConstants;
class Constants extends LibConstants
{
/** @var string The last version of this library */
public const VERSION = 'v2.1.1';
/** @var string The user agent used to send request to Local API */
public const BASE_USER_AGENT = 'Magento 2 CrowdSec Bouncer/'.self::VERSION;
/** @var string */
public const CROWDSEC_CACHE_PATH = BP . '/var/cache/crowdsec';
/** @var string */
public const CROWDSEC_LOG_PATH = '/var/log';
}