Skip to content

Commit

Permalink
Merge pull request #716 from quietsy/swag-dashboard
Browse files Browse the repository at this point in the history
Change the python path according to swag updates
  • Loading branch information
aptalca authored Jun 21, 2023
2 parents fad06b5 + 7660e9c commit b8b9ba6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions root/dashboard/www/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function GetHeader() {
}

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);
$status = "";
$index = 0;
Expand Down Expand Up @@ -100,7 +100,7 @@ function GetProxies() {
}

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);
$status = "";
$index = 0;
Expand Down

0 comments on commit b8b9ba6

Please sign in to comment.