|
@@ -6,7 +6,7 @@ session_start();
|
|
|
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
|
include($_SERVER['DOCUMENT_ROOT']."/inc/main.php");
|
|
|
|
|
|
|
|
if ($_SESSION['user'] == 'admin') {
|
|
if ($_SESSION['user'] == 'admin') {
|
|
|
- exec (VESTA_CMD."v-add-cron-vesta-autoupdate", $output, $return_var);
|
|
|
|
|
|
|
+ exec (VESTA_CMD."v-add-cron-hestia-autoupdate", $output, $return_var);
|
|
|
$_SESSION['error_msg'] = __('Autoupdate has been successfully enabled');
|
|
$_SESSION['error_msg'] = __('Autoupdate has been successfully enabled');
|
|
|
unset($output);
|
|
unset($output);
|
|
|
}
|
|
}
|