mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 10:37:39 -07:00
Fix quotes in cronjob CMD
This commit is contained in:
parent
00bc162fe6
commit
aa83fa85f8
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ $v_job = escapeshellarg($_GET['job']);
|
|||
exec (VESTA_CMD."v-list-cron-job ".$user." ".$v_job." 'json'", $output, $return_var);
|
||||
check_return_code($return_var,$output);
|
||||
|
||||
$data = json_decode(implode('', str_replace("\\", "\\\\", $output)), true);
|
||||
$data = json_decode(implode('', $output), true);
|
||||
unset($output);
|
||||
|
||||
// Parse cron job
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue