no more needed
parent
3b0d213722
commit
e9242f40c3
11
src/My.php
11
src/My.php
|
@ -27,9 +27,6 @@ class My
|
||||||
/** @var string Passwords file name */
|
/** @var string Passwords file name */
|
||||||
public const FILE_PASSWORD = '.htpasswd';
|
public const FILE_PASSWORD = '.htpasswd';
|
||||||
|
|
||||||
/** @var string This module required php version */
|
|
||||||
public const PHP_MIN = '7.4';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This module id.
|
* This module id.
|
||||||
*/
|
*/
|
||||||
|
@ -56,14 +53,6 @@ class My
|
||||||
return dirname(__DIR__);
|
return dirname(__DIR__);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Check this module PHP version compliant.
|
|
||||||
*/
|
|
||||||
public static function phpCompliant(): bool
|
|
||||||
{
|
|
||||||
return version_compare(phpversion(), self::PHP_MIN, '>=');
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Encryption methods combo.
|
* Encryption methods combo.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue