This commit is contained in:
2024-12-09 16:14:25 +08:00
parent 60d3418e4a
commit 38f091fa70
2 changed files with 3 additions and 2 deletions

View File

@@ -20,6 +20,6 @@ if ($_GET['test']?? '' === 'liqi') {
print_r(get_device_type());die;
} elseif($_GET['test']?? '' === 'restartOp') {
$result = opcache_reset();
echo $result ? 'OPcache 已重置' : 'OPcache 重置失败';
echo $result ? 'OPcache 已重置' : 'OPcache 重置失败';die;
}
(new \common\core\WebApplication($config))->run();