mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Revert "[SECURITY] Fix OS command injection."
This commit is contained in:
parent
9620bfbf35
commit
39e9b6397b
115 changed files with 1980 additions and 1340 deletions
|
@ -3,10 +3,11 @@
|
|||
error_reporting(NULL);
|
||||
ob_start();
|
||||
session_start();
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/inc/main.php');
|
||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||
|
||||
v_exec('v-add-cron-reports', [$user], false);
|
||||
exec (VESTA_CMD."v-add-cron-reports ".$user, $output, $return_var);
|
||||
$_SESSION['error_msg'] = __('Cronjob email reporting has been successfully enabled');
|
||||
unset($output);
|
||||
|
||||
header('Location: /list/cron/');
|
||||
header("Location: /list/cron/");
|
||||
exit;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue