APC is deprecated

This commit is contained in:
Visman 2022-12-10 17:30:35 +07:00
parent bb6d788ce5
commit 78b106701a

View file

@ -165,12 +165,6 @@ class Statistics extends Admin
} elseif (\ini_get('wincache.fcenabled')) {
$this->accelerator = 'Windows Cache for PHP';
$this->linkAcc = 'https://www.php.net/wincache/';
} elseif (
\ini_get('apc.enabled')
&& \function_exists('\\apc_delete_file')
) {
$this->accelerator = 'Alternative PHP Cache (APC)'; //???? частичная эмуляция APCu
$this->linkAcc = 'https://www.php.net/apc/';
} else {
$this->accelerator = __('NA');
$this->linkAcc = null;