opcache
This commit is contained in:
@@ -18,5 +18,8 @@ $config = yii\helpers\ArrayHelper::merge(
|
||||
|
||||
if ($_GET['test']?? '' === 'liqi') {
|
||||
print_r(get_device_type());die;
|
||||
} elseif($_GET['test']?? '' === 'restartOp') {
|
||||
$result = opcache_reset();
|
||||
echo $result ? 'OPcache 已重置' : 'OPcache 重置失败';
|
||||
}
|
||||
(new \common\core\WebApplication($config))->run();
|
||||
|
||||
Reference in New Issue
Block a user