mirror of
https://github.com/TrezOne/docker-mods-uptime-kuma-timeout-fix.git
synced 2026-07-19 01:46:10 -04:00
Merge pull request #716 from quietsy/swag-dashboard
Change the python path according to swag updates
This commit is contained in:
@@ -47,7 +47,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function GetProxies() {
|
function GetProxies() {
|
||||||
$output = shell_exec("python3 /dashboard/swag-proxies.py");
|
$output = shell_exec("if test -f /lsiopy/bin/python3; then /lsiopy/bin/python3 /dashboard/swag-proxies.py; else python3 /dashboard/swag-proxies.py; fi");
|
||||||
$results = json_decode($output);
|
$results = json_decode($output);
|
||||||
$status = "";
|
$status = "";
|
||||||
$index = 0;
|
$index = 0;
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function GetF2B() {
|
function GetF2B() {
|
||||||
$output = shell_exec("python3 /dashboard/swag-f2b.py");
|
$output = shell_exec("if test -f /lsiopy/bin/python3; then /lsiopy/bin/python3 /dashboard/swag-f2b.py; else python3 /dashboard/swag-f2b.py; fi");
|
||||||
$jails = json_decode($output, true);
|
$jails = json_decode($output, true);
|
||||||
$status = "";
|
$status = "";
|
||||||
$index = 0;
|
$index = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user