|
@@ -7,6 +7,11 @@ const LOG_PATH = './log.txt'; |
|
|
|
|
|
|
|
|
$log_data = []; |
|
|
$log_data = []; |
|
|
|
|
|
|
|
|
|
|
|
exec ("(ps -Af | grep -e '^miteruzo' | grep 'python3 main.py') && (ps -Af | grep -e '^miteruzo' | grep 'obs')", |
|
|
|
|
|
$output, $exit_code); |
|
|
|
|
|
$available = $exit_code === 0; |
|
|
|
|
|
unset ($output, $exit_code); |
|
|
|
|
|
|
|
|
$page = (int) ($_GET['p'] ?? 1); |
|
|
$page = (int) ($_GET['p'] ?? 1); |
|
|
$length = (int) ($_GET['max'] ?? 20); |
|
|
$length = (int) ($_GET['max'] ?? 20); |
|
|
$asc = ($_GET['asc'] ?? 0) != 0; |
|
|
$asc = ($_GET['asc'] ?? 0) != 0; |
|
|