[Web] Update libs

[Web] Update filename when downloading
This commit is contained in:
andryyy
2020-05-18 21:15:51 +02:00
parent 11820a4d3a
commit 667bd48163
71 changed files with 362 additions and 546 deletions

View File

@@ -1 +1 @@
5.2.27
5.2.28

View File

@@ -31,7 +31,7 @@ class PHPMailer
* The PHPMailer Version number.
* @var string
*/
public $Version = '5.2.27';
public $Version = '5.2.28';
/**
* Email priority.
@@ -2711,7 +2711,10 @@ class PHPMailer
if (!self::isPermittedPath($path) or !file_exists($path)) {
throw new phpmailerException($this->lang('file_open') . $path, self::STOP_CONTINUE);
}
$magic_quotes = get_magic_quotes_runtime();
$magic_quotes = false;
if( version_compare(PHP_VERSION, '7.4.0', '<') ) {
$magic_quotes = get_magic_quotes_runtime();
}
if ($magic_quotes) {
if (version_compare(PHP_VERSION, '5.3.0', '<')) {
set_magic_quotes_runtime(false);

View File

@@ -34,7 +34,7 @@ class POP3
* @var string
* @access public
*/
public $Version = '5.2.27';
public $Version = '5.2.28';
/**
* Default POP3 port number.

View File

@@ -30,7 +30,7 @@ class SMTP
* The PHPMailer SMTP version number.
* @var string
*/
const VERSION = '5.2.27';
const VERSION = '5.2.28';
/**
* SMTP line break constant.
@@ -81,7 +81,7 @@ class SMTP
* @deprecated Use the `VERSION` constant instead
* @see SMTP::VERSION
*/
public $Version = '5.2.27';
public $Version = '5.2.28';
/**
* SMTP server port number.