mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -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
|
@ -25,14 +25,14 @@ if ($_GET['type'] == 'udir') $udir = escapeshellarg($_GET['object']);
|
|||
if (!empty($_GET['type'])) {
|
||||
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