mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
🔒 ♻️ Implement secure exec
wrapper functions.
This commit is contained in:
parent
6e13036780
commit
8e951ac72e
115 changed files with 1345 additions and 1986 deletions
|
@ -3,11 +3,10 @@
|
|||
error_reporting(NULL);
|
||||
ob_start();
|
||||
session_start();
|
||||
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
||||
include($_SERVER['DOCUMENT_ROOT'].'/inc/main.php');
|
||||
|
||||
exec (VESTA_CMD."v-add-cron-reports ".$user, $output, $return_var);
|
||||
v_exec('v-add-cron-reports', [$user], false);
|
||||
$_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