mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-20 21:34:11 -07:00
removed unnecessary single quotes for security reasons / thanks to Andrea Cardaci
This commit is contained in:
parent
c9bf443c6a
commit
b17b4b205d
15 changed files with 65 additions and 62 deletions
|
@ -20,7 +20,7 @@ if (empty($_GET['job'])) {
|
|||
|
||||
// List cron job
|
||||
$v_job = escapeshellarg($_GET['job']);
|
||||
exec (VESTA_CMD."v-list-cron-job ".$user." ".$v_job." 'json'", $output, $return_var);
|
||||
exec (VESTA_CMD."v-list-cron-job ".$user." ".$v_job." json", $output, $return_var);
|
||||
check_return_code($return_var,$output);
|
||||
|
||||
$data = json_decode(implode('', $output), true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue