mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-21 13:54:26 -07:00
changed tranlsate function name from _() to __()
This commit is contained in:
parent
83673da05f
commit
25c2b5c4cb
104 changed files with 1277 additions and 1277 deletions
|
@ -26,14 +26,14 @@ if (!empty($_POST['udir'])) $udir = escapeshellarg(implode(",",$_POST['udir']));
|
|||
if ($action == 'restore') {
|
||||
exec (VESTA_CMD."v-schedule-user-restore ".$user." ".$backup." ".$web." ".$dns." ".$mail." ".$db." ".$cron." ".$udir, $output, $return_var);
|
||||
if ($return_var == 0) {
|
||||
$_SESSION['restore_msg'] = _('RESTORE_SCHEDULED');
|
||||
$_SESSION['restore_msg'] = __('RESTORE_SCHEDULED');
|
||||
} else {
|
||||
$_SESSION['restore_msg'] = implode('<br>', $output);
|
||||
if (empty($_SESSION['restore_msg'])) {
|
||||
$_SESSION['restore_msg'] = _('Error: vesta did not return any output.');
|
||||
$_SESSION['restore_msg'] = __('Error: vesta did not return any output.');
|
||||
}
|
||||
if ($return_var == 4) {
|
||||
$_SESSION['restore_msg'] = _('RESTORE_EXISTS');
|
||||
$_SESSION['restore_msg'] = __('RESTORE_EXISTS');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue