Add files via upload

This commit is contained in:
2025-06-21 17:17:33 +08:00
committed by GitHub
parent 68ec46855f
commit 1e0727c157
2 changed files with 158 additions and 0 deletions

145
src/prober.php Normal file

File diff suppressed because one or more lines are too long

13
src/xconfig.json Normal file
View File

@@ -0,0 +1,13 @@
{
// You can disable listed features: serverStatus, diskUsage, networkStats, ping, serverInfo, phpInfo, phpInfoDetail, phpDisabledFunctions, phpDisabledClasses, phpExtensions, phpExtensionsLoaded, database, myServerBenchmark, myInfo, serverIp
// "disabled": ["serverIp", "phpInfoDetail"],
"disabled": ["phpInfo", "phpInfoDetail", "phpDisabledFunctions", "phpDisabledClasses", "phpExtensions", "phpExtensionsLoaded", "database", "myServerBenchmark"],
// The server benchmark cooldown (seconds)
"serverBenchmarkCd": 30,
// You can set nodes for X-Prober
"nodes": [
//["node-1", "http://localhost/prober/.tmp/"],
//["node-3", "http://localhost/prober/.tmp/"]
]
}